ClientWebSocketOptions.HttpVersion Property

Definition

Gets or sets the HTTP version to use.

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

Property Value

The HTTP message version. The default value is 1.1.

Attributes

Applies to

Product Versions
.NET 7, 8, 9, 10