編輯

共用方式為


HttpContextWrapper.IsWebSocketRequest Property

Definition

Gets a value that indicates whether the request is an AspNetWebSocket request.

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

Property Value

true if the request is an AspNetWebSocket request; otherwise, false.

Applies to