Skip to main content

Module websocket_msg_export

Module websocket_msg_export 

Source
Expand description

WebSocket message export stub — packages mesh/animation data as WebSocket frames.

Structs§

WsFrame
A WebSocket frame stub.
WsMessageExport
A WebSocket message export session.

Enums§

WsOpcode
WebSocket opcode.

Functions§

frames_of_opcode
Count frames of a given opcode.
new_ws_export
Create a new WebSocket message export session.
opcode_name
Opcode name string.
total_ws_bytes
Total payload bytes.
ws_export_to_json
Serialize metadata to JSON-style string.
ws_frame_count
Number of frames.
ws_send_binary
Add a binary frame.
ws_send_ping
Add a ping frame.
ws_send_text
Add a text frame.