Module transport

Module transport 

Source
Expand description

Transport layer for synchronization

Re-exports§

pub use websocket::WebSocketTransport;
pub use websocket::WebSocketConfig;
pub use websocket::WebSocketError;
pub use websocket::ConnectionState;
pub use hybrid_transport_impl::HybridTransport;
pub use websocket_client::WebSocketClient;
pub use websocket_client::WebSocketClientConfig;
pub use websocket_client::WebSocketClientError;
pub use message_protocol::SyncMessage;
pub use message_protocol::MessageCodec;
pub use message_protocol::CrdtType;
pub use message_protocol::UserInfo;
pub use message_protocol::PresenceAction;
pub use message_protocol::ServerInfo;
pub use websocket_integration::WebSocketSyncEngine;
pub use websocket_integration::WebSocketIntegrationConfig;
pub use websocket_integration::WebSocketSyncEngineBuilder;

Modules§

compatibility_layer
Compatibility layer for migrating from existing WebSocket implementation to leptos-ws-pro
hybrid_transport_impl
leptos_ws_pro_transport
leptos-ws-pro transport implementation for leptos-sync
memory
In-memory transport for testing
message_protocol
WebSocket message protocol for CRDT synchronization
multi_transport
websocket
WebSocket transport implementation with real network communication
websocket_client
WebSocket client transport implementation
websocket_integration
WebSocket integration with sync engine

Structs§

InMemoryTransport
In-memory transport for testing
TransportConfig
Transport configuration
TransportFactory
Transport factory

Enums§

TransportError

Traits§

SyncTransport
Transport trait for synchronization