ClientWebSocketOptions.HttpVersionPolicy Property
Definition
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
Property Value
The version policy used when the HTTP connection is established.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.