# Functions

NewClient creates new OpenAI Realtime API client with the given auth token Parameters: - authToken: The authentication token for the OpenAI API Returns: - *Client: A new OpenAI Realtime API client.
NewClientWithConfig creates new OpenAI Realtime API client with specified config Parameters: - config: The client configuration Returns: - *Client: A new OpenAI Realtime API client.
WithLogger sets the logger for the connection Parameters: - logger: The logger to use for the connection.
WithModel sets the model for the connection Parameters: - model: The model to use (e.g., "gpt-4o").
WithReadLimit sets the maximum size of a WebSocket message in bytes Parameters: - readLimit: The maximum size in bytes (0 or negative means no limit).
WithSessionID sets the session ID for the connection Parameters: - sessionID: The session ID to use for the connection.

# Structs

Client is OpenAI Realtime API client.

# Type aliases

ConnectOption is a function that configures connection options.