Notifies that an error has occurred with the connection of the server and the SDK is not able to receive server side events.

interface EventStreamFailed {
    eventDate: Date;
    message: string;
    reason: EventStreamFailureReason;
    retryAfter?: number;
    sessionId: string;
}

Hierarchy (view full)

Properties

eventDate: Date

The date-time when the event was generated by SDK

message: string

Error message describing the reason for failure

retryAfter?: number

Time interval in seconds after which the next attempt to connect to the server will be made

sessionId: string

The unique 36 character internal id that represents the session.