wampy.roles.caller module

class caller.CallProxy(client)[source]

Proxy wrapper of a wampy client for WAMP application RPCs.

Applictions and their endpoints are identified by dot delimented strings, e.g.

"com.example.endpoints"

and a CallProxy object will call such and endpoint, passing in any args or kwargs necessary.

class caller.RpcProxy(client)[source]

Proxy wrapper of a wampy client for WAMP application RPCs where the endpoint is a non-delimted single string name, such as a function name, e.g.

"get_data"

The typical use case of this proxy class is for microservices where endpoints are class methods.