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

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

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

namespace HTTP {

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

} // namespace HTTP