summaryrefslogtreecommitdiffhomepage
path: root/http.h
blob: 7c3bb9a4af793dbefc45a11fee7a86db8ef3f259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <boost/asio/dispatch.hpp>
#include <boost/asio/strand.hpp>

#include "config.h"
#include "server.h"

namespace HTTP {

class Server: public ::Server
{
public:
 Server(Config& config, boost::asio::io_context& ioc, const Socket& socket, plugins_container_type& plugins, Statistics& statistics);
 virtual ~Server();
 int start() override;
};

} // namespace HTTP