#include <http_server.hpp>
◆ HttpServer()
taraxa::net::HttpServer::HttpServer |
( |
boost::asio::io_context & |
io, |
|
|
boost::asio::ip::tcp::endpoint |
ep, |
|
|
const addr_t & |
node_addr, |
|
|
const std::shared_ptr< HttpProcessor > & |
request_processor |
|
) |
| |
◆ ~HttpServer()
virtual taraxa::net::HttpServer::~HttpServer |
( |
| ) |
|
|
inlinevirtual |
◆ accept()
void taraxa::net::HttpServer::accept |
( |
| ) |
|
◆ createConnection()
std::shared_ptr< HttpConnection > taraxa::net::HttpServer::createConnection |
( |
| ) |
|
◆ getIoContext()
boost::asio::io_context& taraxa::net::HttpServer::getIoContext |
( |
| ) |
|
|
inline |
◆ getShared()
std::shared_ptr< HttpServer > taraxa::net::HttpServer::getShared |
( |
| ) |
|
◆ start()
bool taraxa::net::HttpServer::start |
( |
| ) |
|
◆ stop()
bool taraxa::net::HttpServer::stop |
( |
| ) |
|
◆ acceptor_
boost::asio::ip::tcp::acceptor taraxa::net::HttpServer::acceptor_ |
|
private |
◆ ep_
boost::asio::ip::tcp::endpoint taraxa::net::HttpServer::ep_ |
|
private |
◆ HttpConnection
friend taraxa::net::HttpServer::HttpConnection |
◆ HttpHandler
friend taraxa::net::HttpServer::HttpHandler |
◆ io_context_
boost::asio::io_context& taraxa::net::HttpServer::io_context_ |
|
private |
◆ request_processor_
std::shared_ptr<HttpProcessor> taraxa::net::HttpServer::request_processor_ |
|
protected |
◆ stopped_
std::atomic<bool> taraxa::net::HttpServer::stopped_ = true |
|
private |
The documentation for this class was generated from the following files: