Skip to content

WebSocketClientState

Summary

An enumeration of different Web socket client states.

Signature

1
public enum WebSocketClientState

Namespace

cAlgo.API

See Also

Fields

None

Summary

Reserved for future use.

Signature

1
WebSocketClientState.None;

Return Value

WebSocketClientState

Connecting

Summary

The connection is negotiating the handshake with the remote endpoint.

Signature

1
WebSocketClientState.Connecting;

Return Value

WebSocketClientState

Open

Summary

The initial state after the HTTP handshake has been completed.

Signature

1
WebSocketClientState.Open;

Return Value

WebSocketClientState

CloseSent

Summary

A close message was sent to the remote endpoint.

Signature

1
WebSocketClientState.CloseSent;

Return Value

WebSocketClientState

CloseReceived

Summary

A close message was received from the remote endpoint.

Signature

1
WebSocketClientState.CloseReceived;

Return Value

WebSocketClientState

Closed

Summary

Indicates the WebSocket close handshake completed gracefully.

Signature

1
WebSocketClientState.Closed;

Return Value

WebSocketClientState

Aborted

Summary

Indicates that the WebSocket has been aborted.

Signature

1
WebSocketClientState.Aborted;

Return Value

WebSocketClientState