Source code for wsrpc_aiohttp.websocket.decorators

from functools import partial


[docs]class ProxyBase(partial): pass
[docs]class NoProxyFunction(ProxyBase): pass
[docs]class ProxyFunction(ProxyBase): pass
def noproxy(func): return NoProxyFunction(func) def proxy(func): return ProxyFunction(func)