WebSocketManager 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for