WebSocketClient Class

Definition

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.

Applies to