Export (0) Print
Expand All

HttpListenerContext.AcceptWebSocketAsync Method

.NET Framework 4.5

Accept a WebSocket connection as an asynchronous operation.

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 AcceptWebSocketAsync(String) Accept a WebSocket connection as an asynchronous operation.
Public method AcceptWebSocketAsync(String, TimeSpan) Accept a WebSocket connection specifying the supported WebSocket sub-protocol and WebSocket keep-alive interval as an asynchronous operation.
Public method AcceptWebSocketAsync(String, Int32, TimeSpan) Accept a WebSocket connection specifying the supported WebSocket sub-protocol, receive buffer size, and WebSocket keep-alive interval as an asynchronous operation.
Public method AcceptWebSocketAsync(String, Int32, TimeSpan, ArraySegment<Byte>) Accept a WebSocket connection specifying the supported WebSocket sub-protocol, receive buffer size, WebSocket keep-alive interval, and the internal buffer as an asynchronous operation.
Top
Show:
© 2014 Microsoft