WebFramework v3.0.12
Web framework for C++.
Loading...
Searching...
No Matches
MultithreadedWebServer.h
1#pragma once
2
3#include "Import/WebFrameworkCore.h"
4
5#include "BaseWebServer.h"
6#include "WebNetwork/Interfaces/IExecutorFunctionality.h"
7
8namespace framework
9{
11 public virtual BaseWebServer,
13 {
14 private:
15 void clientConnection(const std::string& ip, SOCKET clientSocket, sockaddr addr, std::function<void()>& cleanup) override;
16
17 public:
19 (
20 const json::JSONParser& configuration,
21 const std::vector<utility::JSONSettingsParser>& parsers,
22 const std::filesystem::path& assets,
23 const std::filesystem::path& pathToTemplates,
24 uint64_t cachingSize,
25 std::string_view ip,
26 std::string_view port,
27 DWORD timeout,
28 const std::vector<std::string>& pathToSources
29 );
30
31 ~MultithreadedWebServer() = default;
32 };
33}