ClientWebSocketOptions.HttpVersionPolicy Property

Definition

Gets or sets the policy that determines how HttpVersion is interpreted and how the final HTTP version is negotiated with the server.

public System.Net.Http.HttpVersionPolicy HttpVersionPolicy { get; [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] set; }

Property Value

The version policy used when the HTTP connection is established.

Attributes

Applies to

Product Versions
.NET 7, 8, 9