Decorator to cause the request to be passed as the first argument to the method.

If an xmlrpc_ method is wrapped with withRequest, the request object is passed as the first argument to that method. For example:

   @withRequest
   def xmlrpc_echo(self, request, s):
       return s
Present Since10.2
API Documentation for Twisted, generated by pydoctor at 2018-04-29 21:01:12.