Edit

Share via


HttpRequestMessage.VersionPolicy Property

Definition

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

public System.Net.Http.HttpVersionPolicy VersionPolicy { get; set; }

Property Value

The HttpVersionPolicy used when the HTTP connection is established.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10