Kea: isc::http Namespace Reference

| Kea 2.2.0

Classes | Typedefs | Enumerations | Variables
isc::http Namespace Reference

## Classes
struct | BasicAuthHttpHeaderContext
| Represents basic HTTP authentication header. More...
class | BasicHttpAuth
| Represents a basic HTTP authentication. More...
class | BasicHttpAuthClient
| Basic HTTP authentication client configuration. More...
class | BasicHttpAuthConfig
| Basic HTTP authentication configuration. More...
struct | CallSetGenericBody
| Encapsulates the boolean value indicating if the HttpResponse constructor should call its `setGenericBody` method during construction. More...
class | HostHttpHeader
| Represents HTTP Host header. More...
class | HttpAuthConfig
| Base type of HTTP authentication configuration. More...
class | HttpClient
| HTTP client class. More...
class | HttpClientError
| A generic error raised by the HttpClient class. More...
class | HttpClientImpl
| HttpClient implementation. More...
class | HttpConnection
| Accepts and handles a single HTTP connection. More...
class | HttpConnectionError
| Generic error reported within HttpConnection class. More...
class | HttpConnectionPool
| Pool of active HTTP connections. More...
class | HttpDateTime
| This class parses and generates time values used in HTTP. More...
class | HttpHeader
| Represents HTTP header including a header name and value. More...
struct | HttpHeaderContext
| HTTP header context. More...
class | HttpListener
| HTTP listener. More...
class | HttpListenerError
| A generic error raised by the HttpListener class. More...
class | HttpListenerImpl
| Implementation of the HttpListener. More...
class | HttpMessage
| Base class for HttpRequest and HttpResponse. More...
class | HttpMessageError
| Generic exception thrown by HttpMessage class. More...
class | HttpMessageNonExistingHeader
| Exception thrown when attempt is made to retrieve a non-existing header. More...
class | HttpMessageParserBase
| Base class for the HTTP message parsers. More...
class | HttpParseError
| Exception thrown when an error during parsing HTTP message has occurred. More...
class | HttpRequest
| Represents HTTP request message. More...
struct | HttpRequestContext
| HTTP request context. More...
class | HttpRequestError
| Generic exception thrown by HttpRequest class. More...
class | HttpRequestJsonError
| Exception thrown when body of the HTTP message is not JSON. More...
class | HttpRequestParser
| A generic parser for HTTP requests. More...
class | HttpResponse
| Represents HTTP response message. More...
struct | HttpResponseContext
| HTTP response context. More...
class | HttpResponseCreator
| Specifies an interface for classes creating HTTP responses from HTTP requests. More...
class | HttpResponseCreatorFactory
| Specifies the interface for implementing custom factory classes used to create instances of HttpResponseCreator. More...
class | HttpResponseError
| Generic exception thrown by HttpResponse class. More...
class | HttpResponseJson
| Represents HTTP response with JSON content. More...
class | HttpResponseJsonError
| Exception thrown when body of the HTTP message is not JSON. More...
class | HttpResponseParser
| A generic parser for HTTP responses. More...
class | HttpThreadPool
| Implements a pausable pool of IOService driven threads. More...
class | HttpTimeConversionError
| Exception thrown when there is an error during time conversion. More...
struct | HttpVersion
| HTTP protocol version. More...
class | PostHttpRequest
| Represents HTTP POST request. More...
class | PostHttpRequestJson
| Represents HTTP POST request with JSON body. More...
class | Url
| Represents an URL. More...

## Typedefs
typedef std::list< BasicHttpAuthClient > | BasicHttpAuthClientList
| Type of basic HTTP authentication client configuration list. More...
typedef boost::shared_ptr< BasicHttpAuthConfig > | BasicHttpAuthConfigPtr
| Type of shared pointers to basic HTTP authentication configuration. More...
typedef std::unordered_map< std::string, std::string > | BasicHttpAuthMap
| Type of basic HTTP authentication credential and user id map, e.g. More...
typedef boost::shared_ptr< BasicHttpAuth > | BasicHttpAuthPtr
| Type of pointers to basic HTTP authentication objects. More...
typedef boost::shared_ptr< const HttpListener > | ConstHttpListenerPtr
| Pointer to the const HttpListener. More...
typedef boost::shared_ptr< const HttpResponse > | ConstHttpResponsePtr
| Pointer to the const HttpResponse object. More...
typedef boost::shared_ptr< const PostHttpRequest > | ConstPostHttpRequestPtr
| Pointer to const PostHttpRequest. More...
typedef boost::shared_ptr< HostHttpHeader > | HostHttpHeaderPtr
| Pointer to the HTTP host header. More...
typedef asiolink::TCPAcceptor< HttpAcceptorCallback > | HttpAcceptor
| Type of the TCP acceptor used in this library. More...
typedef std::function< void(const boost::system::error_code &)> | HttpAcceptorCallback
| Type of the callback for the TCP acceptor used in this library. More...
typedef boost::shared_ptr< HttpAcceptor > | HttpAcceptorPtr
| Type of shared pointer to TCP acceptors. More...
typedef boost::shared_ptr< HttpAuthConfig > | HttpAuthConfigPtr
| Type of shared pointers to HTTP authentication configuration. More...
typedef boost::shared_ptr< HttpClient > | HttpClientPtr
| Defines a pointer to an HttpClient instance. More...
typedef boost::shared_ptr< HttpConnection > | HttpConnectionPtr
| Pointer to the HttpConnection. More...
typedef boost::shared_ptr< HttpHeader > | HttpHeaderPtr
| Pointer to the `HttpHeader` class. More...
typedef boost::shared_ptr< HttpListener > | HttpListenerPtr
| Pointer to the HttpListener. More...
typedef boost::shared_ptr< HttpRequestContext > | HttpRequestContextPtr
| Pointer to the HttpRequestContext. More...
typedef boost::shared_ptr< HttpRequestParser > | HttpRequestParserPtr
| Pointer to the HttpRequestParser. More...
typedef boost::shared_ptr< HttpRequest > | HttpRequestPtr
| Pointer to the HttpRequest object. More...
typedef boost::shared_ptr< HttpResponseContext > | HttpResponseContextPtr
| Pointer to the HttpResponseContext. More...
typedef boost::shared_ptr< HttpResponseCreatorFactory > | HttpResponseCreatorFactoryPtr
| Pointer to the HttpResponseCreatorFactory. More...
typedef boost::shared_ptr< HttpResponseCreator > | HttpResponseCreatorPtr
| Pointer to the HttpResponseCreator object. More...
typedef boost::shared_ptr< HttpResponseJson > | HttpResponseJsonPtr
| Pointer to the HttpResponseJson object. More...
typedef boost::shared_ptr< HttpResponseParser > | HttpResponseParserPtr
| Pointer to the HttpResponseParser. More...
typedef boost::shared_ptr< HttpResponse > | HttpResponsePtr
| Pointer to the HttpResponse object. More...
typedef asiolink::TLSAcceptor< HttpAcceptorCallback > | HttpsAcceptor
| Type of the TLS acceptor used in this library. More...
typedef boost::shared_ptr< HttpsAcceptor > | HttpsAcceptorPtr
| Type of shared pointer to TLS acceptors. More...
typedef boost::shared_ptr< HttpThreadPool > | HttpThreadPoolPtr
| Defines a pointer to a thread pool. More...
typedef boost::shared_ptr< PostHttpRequestJson > | PostHttpRequestJsonPtr
| Pointer to PostHttpRequestJson. More...
typedef boost::shared_ptr< PostHttpRequest > | PostHttpRequestPtr
| Pointer to PostHttpRequest. More...

## Enumerations
enum class | HttpStatusCode : std::uint16_t { OK = 200 , CREATED = 201 , ACCEPTED = 202 , NO_CONTENT = 204 , MULTIPLE_CHOICES = 300 , MOVED_PERMANENTLY = 301 , MOVED_TEMPORARILY = 302 , NOT_MODIFIED = 304 , BAD_REQUEST = 400 , UNAUTHORIZED = 401 , FORBIDDEN = 403 , NOT_FOUND = 404 , REQUEST_TIMEOUT = 408 , INTERNAL_SERVER_ERROR = 500 , NOT_IMPLEMENTED = 501 , BAD_GATEWAY = 502 , SERVICE_UNAVAILABLE = 503 }
| HTTP status codes (cf RFC 2068) More...

## Variables
isc::log::Logger | auth_logger ("auth")
| Defines the logger used by the HTTP authentication. More...
const isc::log::MessageID | HTTP_BAD_CLIENT_REQUEST_RECEIVED = "HTTP_BAD_CLIENT_REQUEST_RECEIVED"
const isc::log::MessageID | HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS = "HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS"
const isc::log::MessageID | HTTP_BAD_SERVER_RESPONSE_RECEIVED = "HTTP_BAD_SERVER_RESPONSE_RECEIVED"
const isc::log::MessageID | HTTP_BAD_SERVER_RESPONSE_RECEIVED_DETAILS = "HTTP_BAD_SERVER_RESPONSE_RECEIVED_DETAILS"
const isc::log::MessageID | HTTP_CLIENT_MT_STARTED = "HTTP_CLIENT_MT_STARTED"
const isc::log::MessageID | HTTP_CLIENT_QUEUE_SIZE_GROWING = "HTTP_CLIENT_QUEUE_SIZE_GROWING"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_AUTHORIZED = "HTTP_CLIENT_REQUEST_AUTHORIZED"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER = "HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_NO_AUTH_HEADER = "HTTP_CLIENT_REQUEST_NO_AUTH_HEADER"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_NOT_AUTHORIZED = "HTTP_CLIENT_REQUEST_NOT_AUTHORIZED"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_RECEIVED = "HTTP_CLIENT_REQUEST_RECEIVED"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_RECEIVED_DETAILS = "HTTP_CLIENT_REQUEST_RECEIVED_DETAILS"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_SEND = "HTTP_CLIENT_REQUEST_SEND"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_SEND_DETAILS = "HTTP_CLIENT_REQUEST_SEND_DETAILS"
const isc::log::MessageID | HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED = "HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED"
const isc::log::MessageID | HTTP_CONNECTION_CLOSE_CALLBACK_FAILED = "HTTP_CONNECTION_CLOSE_CALLBACK_FAILED"
const isc::log::MessageID | HTTP_CONNECTION_HANDSHAKE_FAILED = "HTTP_CONNECTION_HANDSHAKE_FAILED"
const isc::log::MessageID | HTTP_CONNECTION_HANDSHAKE_START = "HTTP_CONNECTION_HANDSHAKE_START"
const isc::log::MessageID | HTTP_CONNECTION_SHUTDOWN = "HTTP_CONNECTION_SHUTDOWN"
const isc::log::MessageID | HTTP_CONNECTION_SHUTDOWN_FAILED = "HTTP_CONNECTION_SHUTDOWN_FAILED"
const isc::log::MessageID | HTTP_CONNECTION_STOP = "HTTP_CONNECTION_STOP"
const isc::log::MessageID | HTTP_CONNECTION_STOP_FAILED = "HTTP_CONNECTION_STOP_FAILED"
const isc::log::MessageID | HTTP_DATA_RECEIVED = "HTTP_DATA_RECEIVED"
const isc::log::MessageID | HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED = "HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED"
isc::log::Logger | http_logger ("http")
| Defines the logger used within libkea-http library. More...
const isc::log::MessageID | HTTP_PREMATURE_CONNECTION_TIMEOUT_OCCURRED = "HTTP_PREMATURE_CONNECTION_TIMEOUT_OCCURRED"
const isc::log::MessageID | HTTP_REQUEST_RECEIVE_START = "HTTP_REQUEST_RECEIVE_START"
const isc::log::MessageID | HTTP_SERVER_RESPONSE_RECEIVED = "HTTP_SERVER_RESPONSE_RECEIVED"
const isc::log::MessageID | HTTP_SERVER_RESPONSE_RECEIVED_DETAILS = "HTTP_SERVER_RESPONSE_RECEIVED_DETAILS"
const isc::log::MessageID | HTTP_SERVER_RESPONSE_SEND = "HTTP_SERVER_RESPONSE_SEND"
const isc::log::MessageID | HTTP_SERVER_RESPONSE_SEND_DETAILS = "HTTP_SERVER_RESPONSE_SEND_DETAILS"
const isc::log::MessageID | HTTPS_REQUEST_RECEIVE_START = "HTTPS_REQUEST_RECEIVE_START"

## Typedef Documentation

## ◆ BasicHttpAuthClientList

typedef std::list<BasicHttpAuthClient> isc::http::BasicHttpAuthClientList

Type of basic HTTP authentication client configuration list.

Definition at line 114 of file basic_auth_config.h.

## ◆ BasicHttpAuthConfigPtr

typedef boost::shared_ptr<BasicHttpAuthConfig> isc::http::BasicHttpAuthConfigPtr

Type of shared pointers to basic HTTP authentication configuration.

Definition at line 199 of file basic_auth_config.h.

## ◆ BasicHttpAuthMap

typedef std::unordered_map<std::string, std::string> isc::http::BasicHttpAuthMap

Type of basic HTTP authentication credential and user id map, e.g.

map["am9obmRvZTpzZWNyZXQx"] = "johndoe".

The map is used to verify a received credential: if it is not in it the authentication fails, if it is in it the user id is logged.

Definition at line 23 of file basic_auth_config.h.

## ◆ BasicHttpAuthPtr

typedef boost::shared_ptr<BasicHttpAuth> isc::http::BasicHttpAuthPtr

Type of pointers to basic HTTP authentication objects.

Definition at line 70 of file basic_auth.h.

## ◆ ConstHttpListenerPtr

typedef boost::shared_ptr<const HttpListener> isc::http::ConstHttpListenerPtr

Pointer to the const HttpListener.

Definition at line 142 of file listener.h.

## ◆ ConstHttpResponsePtr

typedef boost::shared_ptr<const HttpResponse> isc::http::ConstHttpResponsePtr

Pointer to the const HttpResponse object.

Definition at line 84 of file response.h.

## ◆ ConstPostHttpRequestPtr

typedef boost::shared_ptr<const PostHttpRequest> isc::http::ConstPostHttpRequestPtr

Pointer to const PostHttpRequest.

Definition at line 21 of file post_request.h.

## ◆ HostHttpHeaderPtr

typedef boost::shared_ptr<HostHttpHeader> isc::http::HostHttpHeaderPtr

Pointer to the HTTP host header.

Definition at line 81 of file http_header.h.

## ◆ HttpAcceptor

typedef asiolink::TCPAcceptor<HttpAcceptorCallback> isc::http::HttpAcceptor

Type of the TCP acceptor used in this library.

Definition at line 23 of file http_acceptor.h.

## ◆ HttpAcceptorCallback

typedef std::function<void(const boost::system::error_code&)> isc::http::HttpAcceptorCallback

Type of the callback for the TCP acceptor used in this library.

Definition at line 20 of file http_acceptor.h.

## ◆ HttpAcceptorPtr

typedef boost::shared_ptr<HttpAcceptor> isc::http::HttpAcceptorPtr

Type of shared pointer to TCP acceptors.

Definition at line 31 of file http_acceptor.h.

## ◆ HttpAuthConfigPtr

typedef boost::shared_ptr<HttpAuthConfig> isc::http::HttpAuthConfigPtr

Type of shared pointers to HTTP authentication configuration.

Definition at line 97 of file auth_config.h.

## ◆ HttpClientPtr

typedef boost::shared_ptr<HttpClient> isc::http::HttpClientPtr

Defines a pointer to an HttpClient instance.

Definition at line 337 of file client.h.

## ◆ HttpConnectionPtr

typedef boost::shared_ptr<HttpConnection> isc::http::HttpConnectionPtr

Pointer to the HttpConnection.

Definition at line 40 of file connection.h.

## ◆ HttpHeaderPtr

typedef boost::shared_ptr<HttpHeader> isc::http::HttpHeaderPtr

Pointer to the `HttpHeader` class.

Definition at line 65 of file http_header.h.

## ◆ HttpListenerPtr

typedef boost::shared_ptr<HttpListener> isc::http::HttpListenerPtr

Pointer to the HttpListener.

Definition at line 139 of file listener.h.

## ◆ HttpRequestContextPtr

typedef boost::shared_ptr<HttpRequestContext> isc::http::HttpRequestContextPtr

Pointer to the HttpRequestContext.

Definition at line 39 of file request_context.h.

## ◆ HttpRequestParserPtr

typedef boost::shared_ptr<HttpRequestParser> isc::http::HttpRequestParserPtr

Pointer to the HttpRequestParser.

Definition at line 20 of file request_parser.h.

## ◆ HttpRequestPtr

typedef boost::shared_ptr<HttpRequest> isc::http::HttpRequestPtr

Pointer to the HttpRequest object.

Definition at line 30 of file request.h.

## ◆ HttpResponseContextPtr

typedef boost::shared_ptr<HttpResponseContext> isc::http::HttpResponseContextPtr

Pointer to the HttpResponseContext.

Definition at line 39 of file response_context.h.

## ◆ HttpResponseCreatorFactoryPtr

typedef boost::shared_ptr<HttpResponseCreatorFactory> isc::http::HttpResponseCreatorFactoryPtr

Pointer to the HttpResponseCreatorFactory.

Definition at line 54 of file response_creator_factory.h.

## ◆ HttpResponseCreatorPtr

typedef boost::shared_ptr<HttpResponseCreator> isc::http::HttpResponseCreatorPtr

Pointer to the HttpResponseCreator object.

Definition at line 20 of file response_creator.h.

## ◆ HttpResponseJsonPtr

typedef boost::shared_ptr<HttpResponseJson> isc::http::HttpResponseJsonPtr

Pointer to the HttpResponseJson object.

Definition at line 27 of file response_json.h.

## ◆ HttpResponseParserPtr

typedef boost::shared_ptr<HttpResponseParser> isc::http::HttpResponseParserPtr

Pointer to the HttpResponseParser.

Definition at line 20 of file response_parser.h.

## ◆ HttpResponsePtr

typedef boost::shared_ptr<HttpResponse> isc::http::HttpResponsePtr

Pointer to the HttpResponse object.

Definition at line 81 of file response.h.

## ◆ HttpsAcceptor

typedef asiolink::TLSAcceptor<HttpAcceptorCallback> isc::http::HttpsAcceptor

Type of the TLS acceptor used in this library.

Note
  It is a derived type of HttpAcceptor.

Definition at line 28 of file http_acceptor.h.

## ◆ HttpsAcceptorPtr

typedef boost::shared_ptr<HttpsAcceptor> isc::http::HttpsAcceptorPtr

Type of shared pointer to TLS acceptors.

Definition at line 34 of file http_acceptor.h.

## ◆ HttpThreadPoolPtr

typedef boost::shared_ptr<HttpThreadPool> isc::http::HttpThreadPoolPtr

Defines a pointer to a thread pool.

Definition at line 260 of file http_thread_pool.h.

## ◆ PostHttpRequestJsonPtr

typedef boost::shared_ptr<PostHttpRequestJson> isc::http::PostHttpRequestJsonPtr

Pointer to PostHttpRequestJson.

Definition at line 29 of file post_request_json.h.

## ◆ PostHttpRequestPtr

typedef boost::shared_ptr<PostHttpRequest> isc::http::PostHttpRequestPtr

Pointer to PostHttpRequest.

Definition at line 19 of file post_request.h.

## Enumeration Type Documentation

## ◆ HttpStatusCode

enum class isc::http::HttpStatusCode : std::uint16_t
| strong

HTTP status codes (cf RFC 2068)

Enumerator
OK |
CREATED |
ACCEPTED |
NO_CONTENT |
MULTIPLE_CHOICES |
MOVED_PERMANENTLY |
MOVED_TEMPORARILY |
NOT_MODIFIED |
BAD_REQUEST |
UNAUTHORIZED |
FORBIDDEN |
NOT_FOUND |
REQUEST_TIMEOUT |
INTERNAL_SERVER_ERROR |
NOT_IMPLEMENTED |
BAD_GATEWAY |
SERVICE_UNAVAILABLE |

Definition at line 30 of file response.h.

## Variable Documentation

## ◆ auth_logger

isc::log::Logger isc::http::auth_logger | ( | "auth" |  | ) |

Defines the logger used by the HTTP authentication.

Define the HTTP authentication logger.

Definition at line 18 of file auth_log.h.

Referenced by isc::http::BasicHttpAuthConfig::checkAuth().

## ◆ HTTP_BAD_CLIENT_REQUEST_RECEIVED

const isc::log::MessageID isc::http::HTTP_BAD_CLIENT_REQUEST_RECEIVED = "HTTP_BAD_CLIENT_REQUEST_RECEIVED"
| extern

Definition at line 12 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS

const isc::log::MessageID isc::http::HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS = "HTTP_BAD_CLIENT_REQUEST_RECEIVED_DETAILS"
| extern

Definition at line 13 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_BAD_SERVER_RESPONSE_RECEIVED

const isc::log::MessageID isc::http::HTTP_BAD_SERVER_RESPONSE_RECEIVED = "HTTP_BAD_SERVER_RESPONSE_RECEIVED"
| extern

Definition at line 14 of file http_messages.h.

## ◆ HTTP_BAD_SERVER_RESPONSE_RECEIVED_DETAILS

const isc::log::MessageID isc::http::HTTP_BAD_SERVER_RESPONSE_RECEIVED_DETAILS = "HTTP_BAD_SERVER_RESPONSE_RECEIVED_DETAILS"
| extern

Definition at line 15 of file http_messages.h.

## ◆ HTTP_CLIENT_MT_STARTED

const isc::log::MessageID isc::http::HTTP_CLIENT_MT_STARTED = "HTTP_CLIENT_MT_STARTED"
| extern

Definition at line 16 of file http_messages.h.

Referenced by isc::http::HttpClientImpl::HttpClientImpl().

## ◆ HTTP_CLIENT_QUEUE_SIZE_GROWING

const isc::log::MessageID isc::http::HTTP_CLIENT_QUEUE_SIZE_GROWING = "HTTP_CLIENT_QUEUE_SIZE_GROWING"
| extern

Definition at line 17 of file http_messages.h.

## ◆ HTTP_CLIENT_REQUEST_AUTHORIZED

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_AUTHORIZED = "HTTP_CLIENT_REQUEST_AUTHORIZED"
| extern

Definition at line 11 of file auth_messages.h.

Referenced by isc::http::BasicHttpAuthConfig::checkAuth().

## ◆ HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER = "HTTP_CLIENT_REQUEST_BAD_AUTH_HEADER"
| extern

Definition at line 12 of file auth_messages.h.

Referenced by isc::http::BasicHttpAuthConfig::checkAuth().

## ◆ HTTP_CLIENT_REQUEST_NO_AUTH_HEADER

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_NO_AUTH_HEADER = "HTTP_CLIENT_REQUEST_NO_AUTH_HEADER"
| extern

Definition at line 14 of file auth_messages.h.

Referenced by isc::http::BasicHttpAuthConfig::checkAuth().

## ◆ HTTP_CLIENT_REQUEST_NOT_AUTHORIZED

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_NOT_AUTHORIZED = "HTTP_CLIENT_REQUEST_NOT_AUTHORIZED"
| extern

Definition at line 13 of file auth_messages.h.

Referenced by isc::http::BasicHttpAuthConfig::checkAuth().

## ◆ HTTP_CLIENT_REQUEST_RECEIVED

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_RECEIVED = "HTTP_CLIENT_REQUEST_RECEIVED"
| extern

Definition at line 18 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_CLIENT_REQUEST_RECEIVED_DETAILS

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_RECEIVED_DETAILS = "HTTP_CLIENT_REQUEST_RECEIVED_DETAILS"
| extern

Definition at line 19 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_CLIENT_REQUEST_SEND

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_SEND = "HTTP_CLIENT_REQUEST_SEND"
| extern

Definition at line 20 of file http_messages.h.

## ◆ HTTP_CLIENT_REQUEST_SEND_DETAILS

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_SEND_DETAILS = "HTTP_CLIENT_REQUEST_SEND_DETAILS"
| extern

Definition at line 21 of file http_messages.h.

## ◆ HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED

const isc::log::MessageID isc::http::HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED = "HTTP_CLIENT_REQUEST_TIMEOUT_OCCURRED"
| extern

Definition at line 22 of file http_messages.h.

Referenced by isc::http::HttpConnection::requestTimeoutCallback().

## ◆ HTTP_CONNECTION_CLOSE_CALLBACK_FAILED

const isc::log::MessageID isc::http::HTTP_CONNECTION_CLOSE_CALLBACK_FAILED = "HTTP_CONNECTION_CLOSE_CALLBACK_FAILED"
| extern

Definition at line 23 of file http_messages.h.

## ◆ HTTP_CONNECTION_HANDSHAKE_FAILED

const isc::log::MessageID isc::http::HTTP_CONNECTION_HANDSHAKE_FAILED = "HTTP_CONNECTION_HANDSHAKE_FAILED"
| extern

Definition at line 24 of file http_messages.h.

Referenced by isc::http::HttpConnection::handshakeCallback().

## ◆ HTTP_CONNECTION_HANDSHAKE_START

const isc::log::MessageID isc::http::HTTP_CONNECTION_HANDSHAKE_START = "HTTP_CONNECTION_HANDSHAKE_START"
| extern

Definition at line 25 of file http_messages.h.

Referenced by isc::http::HttpConnection::acceptorCallback().

## ◆ HTTP_CONNECTION_SHUTDOWN

const isc::log::MessageID isc::http::HTTP_CONNECTION_SHUTDOWN = "HTTP_CONNECTION_SHUTDOWN"
| extern

Definition at line 26 of file http_messages.h.

Referenced by isc::http::HttpConnection::shutdownConnection().

## ◆ HTTP_CONNECTION_SHUTDOWN_FAILED

const isc::log::MessageID isc::http::HTTP_CONNECTION_SHUTDOWN_FAILED = "HTTP_CONNECTION_SHUTDOWN_FAILED"
| extern

Definition at line 27 of file http_messages.h.

Referenced by isc::http::HttpConnection::shutdownConnection().

## ◆ HTTP_CONNECTION_STOP

const isc::log::MessageID isc::http::HTTP_CONNECTION_STOP = "HTTP_CONNECTION_STOP"
| extern

Definition at line 28 of file http_messages.h.

Referenced by isc::http::HttpConnection::stopThisConnection().

## ◆ HTTP_CONNECTION_STOP_FAILED

const isc::log::MessageID isc::http::HTTP_CONNECTION_STOP_FAILED = "HTTP_CONNECTION_STOP_FAILED"
| extern

Definition at line 29 of file http_messages.h.

Referenced by isc::http::HttpConnection::stopThisConnection().

## ◆ HTTP_DATA_RECEIVED

const isc::log::MessageID isc::http::HTTP_DATA_RECEIVED = "HTTP_DATA_RECEIVED"
| extern

Definition at line 30 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED

const isc::log::MessageID isc::http::HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED = "HTTP_IDLE_CONNECTION_TIMEOUT_OCCURRED"
| extern

Definition at line 31 of file http_messages.h.

Referenced by isc::http::HttpConnection::idleTimeoutCallback().

## ◆ http_logger

isc::log::Logger isc::http::http_logger | ( | "http" |  | ) |

Defines the logger used within libkea-http library.

Define the logger used within libkea-http library.

Definition at line 18 of file http_log.h.

Referenced by isc::http::HttpClientImpl::HttpClientImpl(), isc::http::HttpConnection::acceptorCallback(), isc::http::HttpConnection::handshakeCallback(), isc::http::HttpConnection::idleTimeoutCallback(), isc::http::HttpConnection::requestTimeoutCallback(), isc::http::HttpConnection::shutdownConnection(), isc::http::HttpConnection::socketReadCallback(), and isc::http::HttpConnection::stopThisConnection().

## ◆ HTTP_PREMATURE_CONNECTION_TIMEOUT_OCCURRED

const isc::log::MessageID isc::http::HTTP_PREMATURE_CONNECTION_TIMEOUT_OCCURRED = "HTTP_PREMATURE_CONNECTION_TIMEOUT_OCCURRED"
| extern

Definition at line 32 of file http_messages.h.

## ◆ HTTP_REQUEST_RECEIVE_START

const isc::log::MessageID isc::http::HTTP_REQUEST_RECEIVE_START = "HTTP_REQUEST_RECEIVE_START"
| extern

Definition at line 33 of file http_messages.h.

Referenced by isc::http::HttpConnection::acceptorCallback().

## ◆ HTTP_SERVER_RESPONSE_RECEIVED

const isc::log::MessageID isc::http::HTTP_SERVER_RESPONSE_RECEIVED = "HTTP_SERVER_RESPONSE_RECEIVED"
| extern

Definition at line 34 of file http_messages.h.

## ◆ HTTP_SERVER_RESPONSE_RECEIVED_DETAILS

const isc::log::MessageID isc::http::HTTP_SERVER_RESPONSE_RECEIVED_DETAILS = "HTTP_SERVER_RESPONSE_RECEIVED_DETAILS"
| extern

Definition at line 35 of file http_messages.h.

## ◆ HTTP_SERVER_RESPONSE_SEND

const isc::log::MessageID isc::http::HTTP_SERVER_RESPONSE_SEND = "HTTP_SERVER_RESPONSE_SEND"
| extern

Definition at line 36 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTP_SERVER_RESPONSE_SEND_DETAILS

const isc::log::MessageID isc::http::HTTP_SERVER_RESPONSE_SEND_DETAILS = "HTTP_SERVER_RESPONSE_SEND_DETAILS"
| extern

Definition at line 37 of file http_messages.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

## ◆ HTTPS_REQUEST_RECEIVE_START

const isc::log::MessageID isc::http::HTTPS_REQUEST_RECEIVE_START = "HTTPS_REQUEST_RECEIVE_START"
| extern

Definition at line 11 of file http_messages.h.

Referenced by isc::http::HttpConnection::handshakeCallback().