Επεξεργασία

Κοινή χρήση μέσω


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:
 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