Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebSocketRequestedProtocols Property

HttpContext.WebSocketRequestedProtocols Property

.NET Framework 4.6 and 4.5

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 Nothing if this is not an AspNetWebSocket request or if no list is present.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft