HttpContext.WebSocketRequestedProtocols 屬性

定義

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

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)

屬性值

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

適用於