The zaqar.transport.websocket.protocol module

class MessagingProtocol(handler, proto_id, auth_strategy, loop)

Bases: autobahn.asyncio.websocket.WebSocketServerProtocol

onClose(wasClean, code, reason)
onConnect(request)
onMessage(payload, isBinary)
onOpen()
class NotificationProtocol(factory)

Bases: trollius.protocols.Protocol

connection_lost(exc)
connection_made(transport)
data_received(data)
write_status(status)