OwinWebSocketAcceptAdapter Class¶
This adapts the OWIN WebSocket accept flow to match the ASP.NET Core WebSocket Accept flow. This enables ASP.NET Core components to use WebSockets on OWIN based servers.
- Namespace
Microsoft.AspNetCore.Owin
- Assemblies
- Microsoft.AspNetCore.Owin
Syntax¶
public class OwinWebSocketAcceptAdapter
-
class
Microsoft.AspNetCore.Owin.
OwinWebSocketAcceptAdapter
Methods¶
-
AdaptWebSockets
(System.Func<System.Collections.Generic.IDictionary<System.String, System.Object>, System.Threading.Tasks.Task>)¶ Return type: System.Func<System.Collections.Generic.IDictionary> public static Func<IDictionary<string, object>, Task> AdaptWebSockets(Func<IDictionary<string, object>, Task> next)
-