WebSocketNegotiatedProtocol Property

HttpContext.WebSocketNegotiatedProtocol Property

.NET Framework 4.6 and 4.5

Gets the negotiated protocol that was sent from the server to the client for an AspNetWebSocket connection.

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

public string WebSocketNegotiatedProtocol { get; }

Property Value

Type: System.String

The negotiated protocol.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft