HttpContextBase.WebSocketRequestedProtocols 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當在衍生類別中實作時,會得到客戶端請求的有序協定清單。
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 請求,或是沒有清單。