Skip to main content

foundation-comms.serializedsocketstatus

Home > @genesislcap/foundation-comms > SerializedSocketStatus

SerializedSocketStatus interface

SerializedSocketStatus provides the serialize state of the web socket.

Signature:

export interface SerializedSocketStatus 

Properties

Property

Modifiers

Type

Description

closedClean

readonly

boolean

closedCode

readonly

number

closedReason

readonly

string

hasValidSession

boolean

isConfigured

boolean

When the socket has been configured for use.

isConnected

boolean

isConnecting

boolean

isDisconnected

boolean

isDisconnectedByServer

boolean

isReconnecting

boolean

reconnectionLimitReached

boolean