編輯

共用方式為


HttpContextBase.IsWebSocketRequest Property

Definition

When implemented in a derived class, gets a value that indicates whether the request is an AspNetWebSocket connection request.

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

Property Value

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

Applies to