HttpContext.WebSocketRequestedProtocols Property


Gets the ordered list of protocols requested by the client.

 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)

Property Value

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

Applies to