HttpContext.WebSocketRequestedProtocols Properti

Definisi

Mendapatkan daftar protokol yang diurutkan yang diminta oleh klien.

public:
 property System::Collections::Generic::IList<System::String ^> ^ WebSocketRequestedProtocols { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> WebSocketRequestedProtocols { get; }
member this.WebSocketRequestedProtocols : System.Collections.Generic.IList<string>
Public ReadOnly Property WebSocketRequestedProtocols As IList(Of String)

Nilai Properti

Protokol yang diminta, atau null jika ini bukan AspNetWebSocket permintaan atau jika tidak ada daftar.

Berlaku untuk