共用方式為


HttpContextWrapper.WebSocketRequestedProtocols 屬性

定義

取得用戶端所要求的已排序通訊協定清單。

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

屬性值

IList<String>

所要求的通訊協定;如果這不是 AspNetWebSocket 要求,或沒有清單,則為 null

適用於