ClientWebSocketOptions.CollectHttpResponseDetails Property

Definition

Gets or sets a value that indicates whether HttpStatusCode and HttpResponseHeaders should be set when establishing the connection.

C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public bool CollectHttpResponseDetails { get; set; }

Property Value

Attributes

Applies to

Product Versions
.NET 7, 8, 9, 10