Module Expr Str Import alias Import alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call NameLoad NameLoad Str NameLoad NameLoad decorator_list AttributeLoad NameLoad attr decorator_list
N/A N/A 
    Classes and function for creating and processing requests from user.
 N/A asyncio N/A json base64 b64encode b64decode autobahn.asyncio.websocket WebSocketServerProtocol WebSocketServerFactory aiorest_ws.abstract AbstractRouter aiorest_ws.routers SimpleRouter aiorest_ws.validators check_and_set_subclass aiorest_ws.wrappers Request N/A __all__ N/A RequestHandlerProtocol RequestHandlerFactory RequestHandlerProtocol N/A WebSocketServerProtocol N/A N/A REST WebSocket protocol instance, creating for every client connection.
    This protocol describe how to process network events (users requests to
    APIs) asynchronously.
     _decode_message N/A N/A self payload isBinary N/A False N/A N/A Decoding input message to Request object.

        :param payload: input message.
        :param isBinary: boolean value, means that received data had a binary
                         format.
         N/A isBinary N/A N/A payload N/A b64decode payload N/A input_data N/A N/A json loads N/A N/A payload decode utf-8 N/A N/A Request input_data N/A _encode_message N/A N/A self response isBinary N/A False N/A N/A Encoding output message.

        :param response: output message.
        :param isBinary: boolean value, means that received data had a binary
                         format.
         N/A isBinary N/A N/A response N/A b64encode response N/A response N/A onMessage N/A N/A self payload isBinary N/A N/A N/A Handler, called for every message which was sent from the some user.

        :param payload: input message.
        :param isBinary: boolean value, means that received data had a binary
                         format.
         N/A request N/A N/A self _decode_message payload isBinary N/A response N/A N/A N/A N/A self factory router process_request request N/A out_payload N/A N/A self _encode_message response isBinary N/A N/A N/A self sendMessage out_payload isBinary isBinary N/A N/A asyncio coroutine N/A RequestHandlerFactory N/A WebSocketServerFactory N/A N/A REST WebSocket server factory, which instantiates client connections.

    NOTE: Persistent configuration information is not saved in the instantiated
    protocol. For such cases kept data in a Factory classes, databases, etc.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super RequestHandlerFactory self __init__ args kwargs N/A N/A self _router N/A N/A kwargs get router N/A SimpleRouter args kwargs N/A router N/A N/A self N/A N/A N/A Get router instance. N/A N/A self _router N/A property router N/A N/A self router N/A N/A N/A Set router instance.

        :param router: instance of class, which derived from AbstractRouter.
         N/A router N/A N/A N/A check_and_set_subclass self _router router AbstractRouter N/A N/A router setter N/A