Skip to main content

Module protocol

Module protocol 

Source

Enums§

Change
Represents a change operation on a map
ChangeEvent
Internal enum to distinguish between single and batch changes for broadcasting
ClientMessage
Messages sent from client to server
ServerMessage
Messages sent from server to client

Functions§

decode_message
Decode a message from lib0 format
encode_message
Encode a message using lib0 format