Beast Logo

PrevUpHomeNext

http::basic_parser_v1::http_major

Returns the major HTTP version number.

unsigned
http_major() const;

Examples: Returns 1 for HTTP/1.1 Returns 1 for HTTP/1.0

Return Value

The HTTP major version number.


PrevUpHomeNext