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§
- InMemory
Transport - In-memory transport for testing
- Transport
Config - Transport configuration
- Transport
Factory - Transport factory
Enums§
Traits§
- Sync
Transport - Transport trait for synchronization