@egain/ai-agent-sdk API Reference - v0.1.1 / WebSocketTransportConfig
Interface: WebSocketTransportConfig
WebSocket transport configuration
Hierarchy
↳
WebSocketTransportConfig
Table of contents
Properties
Properties
endpoint
• endpoint: string
Connection endpoint URL
Inherited from
Defined in
core/connection/Transport.ts:37
connectionTimeout
• Optional connectionTimeout: number
Connection timeout in milliseconds
Default
ts
10000Inherited from
TransportConfig.connectionTimeout
Defined in
core/connection/Transport.ts:43
logger
• Optional logger: Logger
Logger instance (optional) If not provided, uses globalLogger
Inherited from
Defined in
core/connection/Transport.ts:49
protocols
• Optional protocols: string | string[]
WebSocket protocols (optional)