編輯

共用方式為


HttpContextBase.IsWebSocketRequestUpgrading Property

Definition

When implemented in a derived class, gets a value that indicates whether the connection is upgrading from an HTTP connection to an AspNetWebSocket connection.

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

Property Value

true if the connection is upgrading; otherwise, false.

Applies to