Kea  1.9.9-git
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 
10 #include <asiolink/tls_acceptor.h>
11 #include <boost/shared_ptr.hpp>
12 #include <boost/system/system_error.hpp>
13 #include <functional>
14 
15 namespace isc {
16 namespace http {
17 
19 typedef std::function<void(const boost::system::error_code&)>
21 
24 
29 
31 typedef boost::shared_ptr<HttpAcceptor> HttpAcceptorPtr;
32 
34 typedef boost::shared_ptr<HttpsAcceptor> HttpsAcceptorPtr;
35 
36 } // end of namespace isc::http
37 } // end of namespace isc
38 
39 #endif
asiolink::TCPAcceptor< HttpAcceptorCallback > HttpAcceptor
Type of the TCP acceptor used in this library.
Definition: http_acceptor.h:23
boost::shared_ptr< HttpAcceptor > HttpAcceptorPtr
Type of shared pointer to TCP acceptors.
Definition: http_acceptor.h:31
std::function< void(const boost::system::error_code &)> HttpAcceptorCallback
Type of the callback for the TCP acceptor used in this library.
Definition: http_acceptor.h:20
boost::shared_ptr< HttpsAcceptor > HttpsAcceptorPtr
Type of shared pointer to TLS acceptors.
Definition: http_acceptor.h:34
asiolink::TLSAcceptor< HttpAcceptorCallback > HttpsAcceptor
Type of the TLS acceptor used in this library.
Definition: http_acceptor.h:28
Defines the logger used by the top-level component of kea-dhcp-ddns.