namespace System.Net.WebSockets {
public sealed class ClientWebSocket : WebSocket {
+ public IReadOnlyDictionary<string, IEnumerable<string>>? HttpResponseHeaders { get; set; }
+ public HttpStatusCode HttpStatusCode { get; }
+ public Task ConnectAsync(Uri uri, HttpMessageInvoker? invoker, CancellationToken cancellationToken);
}
public sealed class ClientWebSocketOptions {
+ public bool CollectHttpResponseDetails { get; set; }
+ public Version HttpVersion { get; set; }
+ public HttpVersionPolicy HttpVersionPolicy { get; set; }
}
}