WebSocketClient Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a client for connecting over WebSockets to a test server.
public ref class WebSocketClient
public class WebSocketClient
type WebSocketClient = class
Public Class WebSocketClient
- Inheritance
-
WebSocketClient
Properties
ConfigureRequest |
Gets or sets the handler used to configure the outgoing request to the WebSocket endpoint. |
SubProtocols |
Gets the list of WebSocket subprotocols that are established in the initial handshake. |
Methods
ConnectAsync(Uri, CancellationToken) |
Establishes a WebSocket connection to an endpoint. |