Unit

ScWebSocketClient

 

type

 TScWebSocketState = (sConnecting, sOpen, sCloseSent, sCloseReceived, sClosed, sAborted);

 

Description

The TScWebSocketState enumeration contains the values, which determine a WebSocket connection state.

 

Value

Description

sConnecting

Indicates that the client is in the state of establishing a connection.

sOpen

Indicates that a connection with a Web server was established.

sCloseSent

Indicates that the client sent a Close control message to the server and is waiting for a response from the server.

sCloseReceived

Indicates that the client received a Close control message from the server, but hasn't sent a response message to the server.

sClosed

Indicates that the connection was closed normally.

sAborted

Indicates that the connection was closed abnormally, e.g., without sending or receiving a Close control message.

 

See also

TScWebSocketClient.State

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support