HTTP/WebSocket gateway with authentication, rate limiting, and webhook support.
This crate provides the public-facing server that accepts HTTP and WebSocket connections, applies authentication and rate-limiting middleware, and routes requests to the agent runner.
Main types
- [
GatewayServer] — Builds and starts the Axum-based HTTP/WS server. - [
AuthConfig] — API-key authentication configuration. - [
ConnectionManager] — Tracks active WebSocket connections. - [
MessageRouter] — Routes inbound messages to the appropriate handler.