WebSocketClient Class
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
C#
public class WebSocketClient
type WebSocketClient = class
Public Class WebSocketClient
- Inheritance
-
WebSocketClient
Configure |
Gets or sets the handler used to configure the outgoing request to the WebSocket endpoint. |
Sub |
Gets the list of WebSocket subprotocols that are established in the initial handshake. |
Connect |
Establishes a WebSocket connection to an endpoint. |
Proizvod | Verzije |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |