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