Module websocket_streaming

Module websocket_streaming 

Source
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§

WebSocketConfig
WebSocket connection configuration
WebSocketConnection
WebSocket connection handle
WebSocketConnectionStats
WebSocket connection statistics
WebSocketEventReceiver
Receiver for WebSocket events
WebSocketEventSender
Sender for WebSocket events
WebSocketMessageReceiver
Receiver for WebSocket messages
WebSocketMessageSender
Sender for WebSocket messages
WebSocketPool
WebSocket connection pool for managing multiple connections
WebSocketPoolConfig
Configuration for WebSocket connection pool
WebSocketStreamer
WebSocket streaming utilities

Enums§

WebSocketEvent
WebSocket event types
WebSocketMessage
WebSocket message type
WebSocketState
WebSocket connection state