HttpContextBase.WebSocketRequestedProtocols 屬性

定義

當在衍生類別中實作時,會得到客戶端請求的有序協定清單。

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

屬性值

請求的協議,或者 null 這不是 AspNetWebSocket 請求,或是沒有清單。

適用於