WebSocketManager WebSocketManager WebSocketManager Class

Definition

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

public abstract class WebSocketManager
type WebSocketManager = class
Public MustInherit Class WebSocketManager
Inheritance
WebSocketManagerWebSocketManagerWebSocketManager
Derived

Constructors

WebSocketManager() WebSocketManager() WebSocketManager()

Properties

IsWebSocketRequest IsWebSocketRequest IsWebSocketRequest

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

WebSocketRequestedProtocols WebSocketRequestedProtocols WebSocketRequestedProtocols

Gets the list of requested WebSocket sub-protocols.

Methods

AcceptWebSocketAsync() AcceptWebSocketAsync() AcceptWebSocketAsync()

Transitions the request to a WebSocket connection.

AcceptWebSocketAsync(String) AcceptWebSocketAsync(String) AcceptWebSocketAsync(String)

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

Applies to