HttpContextBase.AcceptWebSocketRequest Method (Func<AspNetWebSocketContext, Task>)
.NET Framework (current version)
When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function.
Assembly: System.Web (in System.Web.dll)
abstract AcceptWebSocketRequest : userFunc:Func<AspNetWebSocketContext, Task> -> unit override AcceptWebSocketRequest : userFunc:Func<AspNetWebSocketContext, Task> -> unit
Parameters
- userFunc
-
Type:
System.Func<AspNetWebSocketContext, Task>
The user function.
.NET Framework
Available since 4.5
Available since 4.5
Show: