Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpContextBase.AcceptWebSocketRequest Method (Func<AspNetWebSocketContext, Task>)

.NET Framework 4.6 and 4.5

When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual void AcceptWebSocketRequest(
	Func<AspNetWebSocketContext, Task> userFunc


Type: System.Func<AspNetWebSocketContext, Task>

The user function.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft