HttpResponseMessage.Version HttpResponseMessage.Version HttpResponseMessage.Version HttpResponseMessage.Version HttpResponseMessage.Version Property

Definition

Gets or sets the HTTP protocol version used on the HttpResponseMessage object.

public : HttpVersion Version { get; set; }
HttpVersion Version();

void Version(HttpVersion version);
public HttpVersion Version { get; set; }
Public ReadWrite Property Version As HttpVersion
var httpVersion = httpResponseMessage.version;
httpResponseMessage.version = httpVersion;

Property Value

The HTTP protocol version. The default is 1.1.

See also