HttpHeader.http_version

Sets the response HTTP version to v. v must be a known HttpVersion enumerator value and not be HttpVersion.Undefined.

reset() will not change this value.

  1. HttpVersion http_version(HttpVersion v)
    class HttpHeader
  2. HttpVersion http_version()

Parameters

v HttpVersion

response HTTP version

Returns response HTTP version

Meta