feat: error callback in network.get, .get_binary, .post

This commit is contained in:
MihailRis
2025-04-30 19:15:39 +03:00
parent 76fb2e42d3
commit 556a561f1c
3 changed files with 39 additions and 8 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
namespace network {
using OnResponse = std::function<void(std::vector<char>)>;
using OnReject = std::function<void(const char*)>;
using OnReject = std::function<void(int)>;
class Requests {
public: