This commit is contained in:
@ -18,8 +18,8 @@ set(SRC_FILES
|
|||||||
"imp/cpp/StreamWriter.cpp"
|
"imp/cpp/StreamWriter.cpp"
|
||||||
|
|
||||||
"imp/cpp/Http/Common.cpp"
|
"imp/cpp/Http/Common.cpp"
|
||||||
#"imp/cpp/Http/Client.cpp"
|
"imp/cpp/Http/Client.cpp"
|
||||||
#"imp/cpp/Http/Server.cpp"
|
"imp/cpp/Http/Server.cpp"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(IACore STATIC ${SRC_FILES})
|
add_library(IACore STATIC ${SRC_FILES})
|
||||||
@ -33,6 +33,7 @@ target_link_libraries(IACore PUBLIC
|
|||||||
zstd::libzstd
|
zstd::libzstd
|
||||||
tl::expected
|
tl::expected
|
||||||
glaze::glaze
|
glaze::glaze
|
||||||
|
httplib::httplib
|
||||||
pugixml::pugixml
|
pugixml::pugixml
|
||||||
simdjson::simdjson
|
simdjson::simdjson
|
||||||
nlohmann_json::nlohmann_json
|
nlohmann_json::nlohmann_json
|
||||||
@ -40,7 +41,6 @@ target_link_libraries(IACore PUBLIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(IACore PRIVATE
|
target_link_libraries(IACore PRIVATE
|
||||||
httplib::httplib
|
|
||||||
OpenSSL::SSL
|
OpenSSL::SSL
|
||||||
OpenSSL::Crypto
|
OpenSSL::Crypto
|
||||||
)
|
)
|
||||||
|
|||||||
@ -57,9 +57,9 @@ public:
|
|||||||
|
|
||||||
~HttpServer();
|
~HttpServer();
|
||||||
|
|
||||||
HttpServer(HttpServer &&) = default;
|
HttpServer(HttpServer &&) = delete;
|
||||||
HttpServer(const HttpServer &) = delete;
|
HttpServer(const HttpServer &) = delete;
|
||||||
auto operator=(HttpServer &&) -> HttpServer & = default;
|
auto operator=(HttpServer &&) -> HttpServer & = delete;
|
||||||
auto operator=(const HttpServer &) -> HttpServer & = delete;
|
auto operator=(const HttpServer &) -> HttpServer & = delete;
|
||||||
|
|
||||||
auto listen(const String &host, u32 port) -> Result<void>;
|
auto listen(const String &host, u32 port) -> Result<void>;
|
||||||
|
|||||||
Reference in New Issue
Block a user