WebSocketProtocol Class

Definition

The WebSocket class allows applications to send and receive data after the WebSocket upgrade has completed.

public static class WebSocketProtocol
Inheritance
WebSocketProtocol

Methods

CreateFromStream(Stream, Boolean, String, TimeSpan)

Creates a new WebSocket connection that operates on the specified stream.

Applies to

Product Versions
.NET 6 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)