![]() |
Kea 3.1.1
|
HTTP protocol version. More...
#include <http_types.h>
Public Member Functions | |
HttpVersion (const unsigned major, const unsigned minor) | |
Constructor. | |
bool | operator!= (const HttpVersion &rhs) const |
Operator not equal. | |
bool | operator< (const HttpVersion &rhs) const |
Operator less. | |
bool | operator== (const HttpVersion &rhs) const |
Operator equal. | |
Static Public Member Functions | |
Methods returning @c HttpVersion object encapsulating typical | |
HTTP version numbers. | |
static const HttpVersion & | HTTP_10 () |
HTTP version 1.0. | |
static const HttpVersion & | HTTP_11 () |
HTTP version 1.1. | |
static const HttpVersion & | HTTP_20 () |
HTTP version 2.0. | |
Public Attributes | |
unsigned | major_ |
Major HTTP version. | |
unsigned | minor_ |
Minor HTTP version. | |
HTTP protocol version.
Definition at line 14 of file http_types.h.
|
inlineexplicit |
Constructor.
major | Major HTTP version. |
minor | Minor HTTP version. |
Definition at line 22 of file http_types.h.
References major_, and minor_.
Referenced by HTTP_10(), HTTP_11(), HTTP_20(), operator!=(), operator<(), and operator==().
|
inlinestatic |
HTTP version 1.0.
Definition at line 53 of file http_types.h.
References HttpVersion().
Referenced by isc::http::HttpRequest::isPersistent(), and isc::http::HttpConnection::requestTimeoutCallback().
|
inlinestatic |
HTTP version 1.1.
Definition at line 59 of file http_types.h.
References HttpVersion().
Referenced by isc::ha::HAService::asyncDisableDHCPService(), isc::ha::HAService::asyncEnableDHCPService(), isc::ha::HAService::asyncSendHAReset(), isc::ha::HAService::asyncSendHeartbeat(), isc::ha::HAService::asyncSendLeaseUpdate(), isc::ha::HAService::asyncSendLeaseUpdatesFromBacklog(), isc::ha::HAService::asyncSyncCompleteNotify(), isc::ha::HAService::asyncSyncLeasesInternal(), isc::ha::HAService::processMaintenanceCancel(), and isc::ha::HAService::processMaintenanceStart().
|
inlinestatic |
HTTP version 2.0.
Definition at line 65 of file http_types.h.
References HttpVersion().
|
inline |
Operator not equal.
rhs | Version to compare to. |
Definition at line 44 of file http_types.h.
References HttpVersion().
|
inline |
Operator less.
rhs | Version to compare to. |
Definition at line 29 of file http_types.h.
References HttpVersion(), major_, and minor_.
|
inline |
Operator equal.
rhs | Version to compare to. |
Definition at line 37 of file http_types.h.
References HttpVersion(), major_, and minor_.
unsigned isc::http::HttpVersion::major_ |
Major HTTP version.
Definition at line 15 of file http_types.h.
Referenced by HttpVersion(), isc::config::CmdResponseCreator::filterCommand(), operator<(), operator==(), and isc::http::HttpRequest::toBriefString().
unsigned isc::http::HttpVersion::minor_ |
Minor HTTP version.
Definition at line 16 of file http_types.h.
Referenced by HttpVersion(), isc::config::CmdResponseCreator::filterCommand(), operator<(), operator==(), and isc::http::HttpRequest::toBriefString().