prpc.CallContext¶
-
class
prpc.call_context.CallContext(call, connection, locator)¶ Context object passsed to each RPC call.
Note
Should not be instantiated directly.
Connectionwill create instances as neeeded.-
method¶ Get method name that was used in the call.
-
args¶ Get call positional arguments.
-
kwargs¶ Get call keyword arguments.
-
connection¶ Connectionresponsible for the call.
-
locator¶ Get the method locator instance used to resolve the method.
See
prpc.method_locatorfor more details.
-
loop¶ Return the asyncio event loop instance used in current connection.
-