Table of Contents

TWebSocketState Enumeration

Represents the different states a WebSocket connection can be in.

Syntax

Unit: Sparkle.WebSocket

Members

Name Value Description
None 0 Initial state, before the connection has been established.
Connecting 1 The WebSocket is in the process of establishing a connection.
Open 2 The WebSocket connection is open and ready for communication.
CloseSent 3 A close frame has been sent, but the connection has not yet closed.
CloseReceived 4 A close frame has been received, but the connection has not yet closed.
Closed 5 The WebSocket connection is closed.
Aborted 6 The WebSocket connection was aborted unexpectedly.