Initial commit
This commit is contained in:
18
src/server/server.hpp
Executable file
18
src/server/server.hpp
Executable file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include "connectionoperator.hpp"
|
||||
#include "listeningsocket.hpp"
|
||||
|
||||
class HttpServer
|
||||
{
|
||||
private:
|
||||
ListeningSocket listeningSocket;
|
||||
ConnectionOperator connectionOperator;
|
||||
bool isOpen;
|
||||
|
||||
public:
|
||||
void Execute();
|
||||
|
||||
HttpServer();
|
||||
HttpServer(HttpServer & other) = delete;
|
||||
HttpServer & operator=(HttpServer & other) = delete;
|
||||
};
|
||||
Reference in New Issue
Block a user