mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
feat: error callback in network.get, .get_binary, .post
This commit is contained in:
parent
76fb2e42d3
commit
556a561f1c
3 changed files with 39 additions and 8 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue