ClientWebSocketOptions.HttpVersionPolicy Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the policy that determines how HttpVersion is interpreted and how the final HTTP version is negotiated with the server.
public:
property System::Net::Http::HttpVersionPolicy HttpVersionPolicy { System::Net::Http::HttpVersionPolicy get(); void set(System::Net::Http::HttpVersionPolicy value); };
public System.Net.Http.HttpVersionPolicy HttpVersionPolicy { get; [System.Runtime.Versioning.UnsupportedOSPlatform("browser")] set; }
[<set: System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.HttpVersionPolicy : System.Net.Http.HttpVersionPolicy with get, set
Public Property HttpVersionPolicy As HttpVersionPolicy
The version policy used when the HTTP connection is established.
- Attributes
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: