Skip to main content

Crate openclaw_gateway

Crate openclaw_gateway 

Source
Expand description

§OpenClaw Gateway

HTTP/WebSocket gateway server with JSON-RPC protocol.

Re-exports§

pub use auth::AuthConfig;
pub use auth::AuthError;
pub use auth::AuthState;
pub use auth::User;
pub use auth::UserRole;
pub use auth::UserStore;
pub use events::EventBroadcaster;
pub use events::UiEvent;
pub use events::UiEventEnvelope;
pub use rpc::RpcError;
pub use rpc::RpcRequest;
pub use rpc::RpcResponse;

Modules§

auth
Authentication and authorization. Authentication and authorization for the gateway.
events
WebSocket UI events. WebSocket UI events for real-time updates.
rpc
JSON-RPC protocol types and constants. JSON-RPC protocol.

Structs§

Gateway
Gateway server.
GatewayBuilder
Builder for constructing a Gateway with its dependencies.
GatewayConfig
Gateway configuration.
GatewayRateLimiter
Rate limiter for the gateway.
GatewayState
Gateway server state shared across handlers.

Enums§

GatewayError
Gateway errors.

Functions§

start
Start the gateway server.