編輯

共用方式為


HttpContextWrapper.WebSocketRequestedProtocols Property

Definition

Gets the ordered list of protocols requested by the client.

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)

Property Value

The requested protocols, or null if this is not an AspNetWebSocket request or if no list is present.

Applies to