AspNetWebSocketContext.SecWebSocketProtocols Property

.NET Framework (current version)
 

Gets a list of application-level protocols (subprotocols) that a client can use to send messages using an AspNetWebSocket connection.

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

public override IEnumerable<string> SecWebSocketProtocols { get; }

Property Value

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

The list of subprotocols, separated by spaces.

Exception Condition
NotImplementedException

The property is not implemented.

.NET Framework
Available since 4.5
Return to top
Show: