mini.channels.websocket_client module

class mini.channels.websocket_client.AbstractMsgHandler(identify=0, msg_clazz: type = <class 'pccodemao_message_pb2.Message'>)[source]

Bases: abc.ABC

abstract handle_msg(message: google.protobuf.message.Message)[source]
parse_msg(body_data)[source]
property msg_clazz
property identify
class mini.channels.websocket_client.DefaultMsgHandler(identify=0, msg_clazz: type = <class 'pccodemao_message_pb2.Message'>)[source]

Bases: mini.channels.websocket_client.AbstractMsgHandler

handle_msg(message: google.protobuf.message.Message)[source]
mini.channels.websocket_client.ubt_websocket

alias of mini.channels.websocket_client._UBTWebSocketClient