WebSocketAcceptAdapter 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.
This adapts the ASP.NET Core WebSocket Accept flow to match the OWIN WebSocket accept flow. This enables OWIN based components to use WebSockets on ASP.NET Core servers.
public ref class WebSocketAcceptAdapter
public class WebSocketAcceptAdapter
type WebSocketAcceptAdapter = class
Public Class WebSocketAcceptAdapter
- Inheritance
-
WebSocketAcceptAdapter
Constructors
WebSocketAcceptAdapter(IDictionary<String,Object>, Func<WebSocketAcceptContext,Task<WebSocket>>) |
Initializes a new instance of WebSocketAcceptAdapter for an OWIN environment. |
Methods
AdaptWebSockets(Func<IDictionary<String,Object>,Task>) |
Adapt web sockets to OWIN. |