HttpListenerWebSocketContext.Headers Property

.NET Framework (current version)
 

Gets the HTTP headers received by the HttpListener object in the WebSocket opening handshake.

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

public override NameValueCollection Headers { get; }

Property Value

Type: System.Collections.Specialized.NameValueCollection

Returns NameValueCollection.

The HTTP headers received by the HttpListener object.

.NET Framework
Available since 4.5
Return to top
Show: