Export (0) Print
Expand All

HttpListenerRequest.IsWebSocketRequest Property

.NET Framework 4.6 and 4.5

Gets a Boolean value that indicates whether the TCP connection was a WebSocket request.

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

public bool IsWebSocketRequest { get; }

Property Value

Type: System.Boolean
Returns Boolean.
true if the TCP connection is a WebSocket request; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft