HttpContextBase.WebSocketNegotiatedProtocol 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.

When implemented in a derived class, 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 virtual string WebSocketNegotiatedProtocol { get; }

Property Value

Type: System.String

The negotiated protocol.

.NET Framework
Available since 4.5
Return to top