Dela via


WebSocketManager Class

Definition

Manages the establishment of WebSocket connections for a specific HTTP request.

public ref class WebSocketManager abstract
public abstract class WebSocketManager
type WebSocketManager = class
Public MustInherit Class WebSocketManager
Inheritance
WebSocketManager

Constructors

WebSocketManager()

Properties

IsWebSocketRequest

Gets a value indicating whether the request is a WebSocket establishment request.

WebSocketRequestedProtocols

Gets the list of requested WebSocket sub-protocols.

Methods

AcceptWebSocketAsync()

Transitions the request to a WebSocket connection.

AcceptWebSocketAsync(String)

Transitions the request to a WebSocket connection using the specified sub-protocol.

AcceptWebSocketAsync(WebSocketAcceptContext)

Applies to