22 explicit HttpVersion(
const unsigned major,
const unsigned minor)
30 return ((
major_ < rhs.major_) ||
38 return ((
major_ == rhs.major_) && (
minor_ == rhs.minor_));
45 return (!
operator==(rhs));
Defines the logger used by the top-level component of kea-lfc.
unsigned minor_
Minor HTTP version.
bool operator<(const HttpVersion &rhs) const
Operator less.
static const HttpVersion & HTTP_10()
HTTP version 1.0.
static const HttpVersion & HTTP_20()
HTTP version 2.0.
static const HttpVersion & HTTP_11()
HTTP version 1.1.
bool operator!=(const HttpVersion &rhs) const
Operator not equal.
HttpVersion(const unsigned major, const unsigned minor)
Constructor.
unsigned major_
Major HTTP version.
bool operator==(const HttpVersion &rhs) const
Operator equal.