web_socket_client library

Client library for CRDT Web Socket Sync

Classes

ChangeMessage
Message containing a CRDT change.
CompressedCodec<T>
Codec for messages with optional compression
Compressor
Interface for data compression
CRDTSocketClient
Interface for the CRDT client
DocumentStatusMessage
Message containing a full snapshot.
DocumentStatusRequestMessage
Snapshot request message sent from client to server.
ErrorMessage
Error message.
HandshakeRequestMessage
Handshake request message sent from client to server.
HandshakeResponseMessage
Handshake response message sent from server to client.
JsonMessageCodec<T>
JSON message codec
Message
Base class for all messages exchanged between server and client.
MessageCodec<T>
Interface for encoding and decoding messages
NoCompression
No compression implementation
PingMessage
Ping message to check the connection.
PongMessage
Pong message.
Protocol
Class that handles the communication protocol.
SyncManager
Manager for the CRDT client
Transport
An interface for transporting messages, define the methods necessary to send and receive messages, independently from the underlying transport mechanism.
TransportConnection
An interface for transporting messages, define the methods necessary to send and receive messages, independently from the underlying transport mechanism.
TransportConnector
An interface for the transport connection
WebSocketClient
CRDTSocketClient implementation using web socket

Enums

ConnectionStatus
Enum that represents the status of the connection
MessageType
Available message types