Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AcceptWebSocketRequest Method

HttpContextBase.AcceptWebSocketRequest Method

.NET Framework 4.6 and 4.5

When implemented in a derived class, accepts an AspNetWebSocket request.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>) When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function.
Public method AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task>, AspNetWebSocketOptions) When implemented in a derived class, accepts an AspNetWebSocket request using the specified user function and options object.
Top
Show:
© 2015 Microsoft