add network.http_get, network.http_get_binary

This commit is contained in:
MihailRis
2024-11-22 07:30:38 +03:00
parent 186078a8d5
commit b23318a06c
6 changed files with 62 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ TEST(curltest, curltest) {
auto view = std::string_view(data.data(), data.size());
auto value = json::parse(view);
std::cout << value << std::endl;
}
}, [](auto){}
);
if (false) {
auto socket = network->connect("localhost", 8000);