Redigera

Dela via


HttpListenerRequest.IsWebSocketRequest Property

Definition

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

public:
 property bool IsWebSocketRequest { bool get(); };
public bool IsWebSocketRequest { get; }
member this.IsWebSocketRequest : bool
Public ReadOnly Property IsWebSocketRequest As Boolean

Property Value

Returns Boolean.

true if the TCP connection is a WebSocket request; otherwise, false.

Applies to