Transport
For details about the transport layer, see the Server and Client reference pages.
Messages
datadivr.transport.messages
Classes
Functions
create_error_message(error_msg, to, websocket=None)
Create a standardized error message.
create_message(event_name, payload, to, message=None, websocket=None)
Create a standardized WebSocket message.
Source code in datadivr/transport/messages.py
send_message(websocket, message)
async
Send a message over a WebSocket connection.
Source code in datadivr/transport/messages.py
options: show_root_heading: true show_source: true