HttpContext.IsWebSocketRequestUpgrading Properti

Definisi

Mendapatkan nilai yang menunjukkan apakah koneksi ditingkatkan dari koneksi HTTP ke AspNetWebSocket koneksi.

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

Nilai Properti

true jika koneksi sedang ditingkatkan; jika tidak, false.

Berlaku untuk