Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. System.Net.WebSockets
  3. ClientWebSocket
  4. HttpStatusCode
  • ClientWebSocket
    • ClientWebSocket()
    • CloseStatus
    • CloseStatusDescription
    • HttpResponseHeaders
    • HttpStatusCode
    • Options
    • State
    • SubProtocol
    • Abort()
    • CloseAsync(WebSocketCloseStatus, String, CancellationToken)
    • CloseOutputAsync(WebSocketCloseStatus, String, CancellationToken)
    • ConnectAsync(Uri, CancellationToken)
    • ConnectAsync(Uri, HttpMessageInvoker, CancellationToken)
    • Dispose()
    • ReceiveAsync(ArraySegment<Byte>, CancellationToken)
    • ReceiveAsync(Memory<Byte>, CancellationToken)
    • SendAsync(ArraySegment<Byte>, WebSocketMessageType, Boolean, CancellationToken)
    • SendAsync(ReadOnlyMemory<Byte>, WebSocketMessageType, Boolean, CancellationToken)
    • SendAsync(ReadOnlyMemory<Byte>, WebSocketMessageType, WebSocketMessageFlags, CancellationToken)
net10.0
namespace System.Net.WebSockets
{
    public sealed class ClientWebSocket : WebSocket
    {
        public HttpStatusCode HttpStatusCode { get; }
    }
}
nuget.org
0.0 %
Reference this API
Design Reviews
  • dotnet/runtime#25918 3 years ago (Approved)
.NET
7.08.09.010.0
Information specific to net10.0
Assembly

System.Net.WebSockets.Client , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

The property getter is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/18/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙