HttpContextBase.WebSocketRequestedProtocols Property

.NET Framework (current version)

When implemented in a derived class, gets the ordered list of protocols that were requested by the client.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual IList<string> WebSocketRequestedProtocols { get; }

Property Value

Type: System.Collections.Generic.IList<String>

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

.NET Framework
Available since 4.5
Return to top