Skip to content

WebSocketClientState

Summary

An enumeration of different Web socket client states.

Signature

1
public enum WebSocketClientState

Namespace

cAlgo.API

Fields

None

Summary

Reserved for future use.

Signature

1
public static WebSocketClientState None;

Return Value

WebSocketClientState

Connecting

Summary

The connection is negotiating the handshake with the remote endpoint.

Signature

1
public static WebSocketClientState Connecting;

Return Value

WebSocketClientState

Open

Summary

The initial state after the HTTP handshake has been completed.

Signature

1
public static WebSocketClientState Open;

Return Value

WebSocketClientState

CloseSent

Summary

A close message was sent to the remote endpoint.

Signature

1
public static WebSocketClientState CloseSent;

Return Value

WebSocketClientState

CloseReceived

Summary

A close message was received from the remote endpoint.

Signature

1
public static WebSocketClientState CloseReceived;

Return Value

WebSocketClientState

Closed

Summary

Indicates the WebSocket close handshake completed gracefully.

Signature

1
public static WebSocketClientState Closed;

Return Value

WebSocketClientState

Aborted

Summary

Indicates that the WebSocket has been aborted.

Signature

1
public static WebSocketClientState Aborted;

Return Value

WebSocketClientState