Expand description
WebSocket transport layer — connection, full-duplex messaging, flow control.
Re-exports§
pub use auth::AuthProvider;pub use auth::GoogleAIAuth;pub use auth::GoogleAITokenAuth;pub use auth::ServiceEndpoint;pub use auth::VertexAIAuth;pub use backpressure::BackpressureConfig;pub use backpressure::TokenBucket;pub use builder::ConnectBuilder;pub use codec::Codec;pub use codec::CodecError;pub use codec::JsonCodec;pub use connection::connect;pub use connection::connect_with;pub use recording::parse_wire_log;pub use recording::read_wire_log;pub use recording::FileWireRecorder;pub use recording::MemoryWireRecorder;pub use recording::RecordingCodec;pub use recording::WireDirection;pub use recording::WireEntry;pub use recording::WireLogError;pub use recording::WireRecorder;pub use recording::WireRecorderHandle;pub use replay::OutboundFrames;pub use replay::ReplayControl;pub use replay::ReplayTransport;pub use replay::ReplayTransportError;pub use ws::MockTransport;pub use ws::MockTransportError;pub use ws::Transport;pub use ws::TungsteniteTransport;
Modules§
- auth
- Authentication providers for Gemini API connections.
- backpressure
- Flow control — token bucket rate limiter for send pacing.
- builder
- ConnectBuilder — ergonomic builder for advanced transport/codec configuration.
- codec
- Message codec — encode commands, decode server messages.
- connection
- WebSocket connection lifecycle — connect, setup, full-duplex split, reconnection.
- recording
- Wire-level recording — capture every byte that crosses the transport.
- replay
- Replay transport — feed a recorded wire log back through the session loop.
- ws
- Transport abstraction — bidirectional message transport.
Structs§
- Transport
Config - Configuration for the transport layer.