HttpListenerWebSocketContext.WebSocket 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.

Gets the WebSocket instance used to send and receive data over the WebSocket connection.

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

public override WebSocket WebSocket { get; }

Property Value

Type: System.Net.WebSockets.WebSocket

Returns WebSocket.

The WebSocket instance.

.NET Framework
Available since 4.5
Return to top