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

    Interface WebSocketConnectionErrorEvent

    Emitted when an unexpected error occurs or the connection drops while in the WebSocketConnectionState.CONNECTED state. The SDK will automatically begin reconnection attempts.

    AvayaInfinityAgentSdk.subscribe(WebSocketConnectionEventType.CONNECTION_ERROR, (event) => {
    console.error("Connection error:", event.payload.error.message);
    });
    interface WebSocketConnectionErrorEvent {
        occurredAt: Date;
        type: CONNECTION_ERROR;
        payload: WebSocketConnectionErrorPayload;
    }

    Hierarchy (View Summary)

    Index

    Properties

    occurredAt: Date

    The timestamp when the event occurred.

    The event type identifier.

    The event payload containing event-specific data.