Expand description
WebSocket Streaming Module
This module provides stateless WebSocket streaming utilities for OpenAI API communication.
Following the “Thin Client, Rich API” principle, this module offers WebSocket management
patterns and connection tools without automatic behaviors or persistent state management.
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module ::prelude :: *.
Structs§
- WebSocket
Config - WebSocket connection configuration
- WebSocket
Connection - WebSocket connection handle
- WebSocket
Connection Stats - WebSocket connection statistics
- WebSocket
Event Receiver - Receiver for WebSocket events
- WebSocket
Event Sender - Sender for WebSocket events
- WebSocket
Message Receiver - Receiver for WebSocket messages
- WebSocket
Message Sender - Sender for WebSocket messages
- WebSocket
Pool - WebSocket connection pool for managing multiple connections
- WebSocket
Pool Config - Configuration for WebSocket connection pool
- WebSocket
Streamer - WebSocket streaming utilities
Enums§
- WebSocket
Event - WebSocket event types
- WebSocket
Message - WebSocket message type
- WebSocket
State - WebSocket connection state