HttpContext.WebSocketRequestedProtocols Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the ordered list of protocols requested by the client.

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

Public ReadOnly Property WebSocketRequestedProtocols As IList(Of String)

Property Value

Type: System.Collections.Generic.IList(Of 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