The WebSocketClient type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CloseStatus |
Gets the close status (only available once the WebSocket has been closed).
| |
| CloseStatusDescription |
Gets the close status description (only available once the WebSocket has been closed).
| |
| InstanceId |
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.) | |
| IsAuthenticated | (Overrides NetworkSession..::..IsAuthenticated.) | |
| IsConnected | (Overrides NetworkSession..::..IsConnected.) | |
| LogWriter |
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.) | |
| Options |
WebSocket options.
| |
| Proxy |
Gets or sets the network proxy to use to access a remote server.
| |
| ServerName |
Gets the server name, if available.
(Inherited from NetworkSession.) | |
| ServerPort |
Gets the server port, if available.
(Inherited from NetworkSession.) | |
| Settings |
Gets an WebSocketClientSettings object.
| |
| State |
Gets the last known state of the WebSocket object.
| |
| SubProtocol |
Gets the sub-protocol selected by the server (only available once the WebSocket has been connected).
| |
| UserName |
Gets the authenticated user name, if available.
(Inherited from NetworkSession.) |