Skip to main content

Crate kael_net

Crate kael_net 

Source
Expand description

Transport-agnostic networking, sync, and collaboration primitives for Kael.

Re-exports§

pub use auth::AuthToken;
pub use auth::SecureTokenStore;
pub use auth::TokenStore;
pub use client::ApiRequest;
pub use client::ApiResponse;
pub use client::HttpMethod;
pub use offline::EnqueueOutcome;
pub use offline::OfflineQueue;
pub use offline::QueuedRequest;
pub use presence::Presence;
pub use presence::PresenceStatus;
pub use presence::PresenceTracker;
pub use retry::RetryPolicy;
pub use websocket::AllowAllWebSocketHosts;
pub use websocket::DenyAllWebSocketHosts;
pub use websocket::WebSocketClient;
pub use websocket::WebSocketClose;
pub use websocket::WebSocketCloseError;
pub use websocket::WebSocketCloseMetadata;
pub use websocket::WebSocketConfig;
pub use websocket::WebSocketConfigBuilder;
pub use websocket::WebSocketConnectError;
pub use websocket::WebSocketErrorKind;
pub use websocket::WebSocketErrorMetadata;
pub use websocket::WebSocketEvent;
pub use websocket::WebSocketEventKind;
pub use websocket::WebSocketHostPolicy;
pub use websocket::WebSocketMessage;
pub use websocket::WebSocketOpenMetadata;
pub use websocket::WebSocketReconnectMetadata;
pub use websocket::WebSocketReconnectPolicy;
pub use websocket::WebSocketSendError;
pub use websocket::WebSocketState;

Modules§

auth
Auth token storage for service credentials.
client
Typed, transport-agnostic API request and response models.
offline
Offline request queue for deferred execution.
presence
Collaboration presence tracking for multi-user sessions.
retry
Retry policy with exponential backoff.
websocket
Bounded WebSocket transport for native and browser applications. A bounded WebSocket client with the same application-facing API on native targets and in browsers.