@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Enumeration WebSocketConnectionState

    The lifecycle state of the SDK's WebSocket connection.

    Use AvayaInfinityAgentSdk.webSocketConnectionState to read the current state, or subscribe to WebSocketConnectionEventType events for change notifications.

    CONNECTING → CONNECTED ⇄ RECONNECTING ⇄ AWAITING_RECONNECTION → FAILED → CLOSED
    
    Index

    Enumeration Members

    CONNECTING: "connecting"

    Initial connection attempt in progress (init() called).

    CONNECTED: "connected"

    Socket connected and authenticated - fully operational.

    RECONNECTING: "reconnecting"

    Reconnection attempt in progress.

    AWAITING_RECONNECTION: "awaitingReconnection"

    Cool-down / backoff wait between reconnection attempts.

    FAILED: "failed"

    All reconnection attempts exhausted. Call retryWebSocketConnection() to try again.

    CLOSED: "closed"

    Intentionally torn down via destroy(), or initial connect failure.