Kea 2.7.6
http_acceptor.h
Go to the documentation of this file.
1// Copyright (C) 2017-2021 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef HTTP_ACCEPTOR_H
8#define HTTP_ACCEPTOR_H
9
11#include <boost/shared_ptr.hpp>
12#include <boost/system/system_error.hpp>
13#include <functional>
14
15namespace isc {
16namespace http {
17
19typedef std::function<void(const boost::system::error_code&)>
21
24
29
31typedef boost::shared_ptr<HttpAcceptor> HttpAcceptorPtr;
32
34typedef boost::shared_ptr<HttpsAcceptor> HttpsAcceptorPtr;
35
36} // end of namespace isc::http
37} // end of namespace isc
38
39#endif
asiolink::TLSAcceptor< HttpAcceptorCallback > HttpsAcceptor
Type of the TLS acceptor used in this library.
std::function< void(const boost::system::error_code &)> HttpAcceptorCallback
Type of the callback for the TCP acceptor used in this library.
asiolink::TCPAcceptor< HttpAcceptorCallback > HttpAcceptor
Type of the TCP acceptor used in this library.
boost::shared_ptr< HttpAcceptor > HttpAcceptorPtr
Type of shared pointer to TCP acceptors.
boost::shared_ptr< HttpsAcceptor > HttpsAcceptorPtr
Type of shared pointer to TLS acceptors.
Defines the logger used by the top-level component of kea-lfc.