Added callback support to HTTP parser

This commit is contained in:
Ramoe 2020-02-20 10:46:42 +01:00 committed by Thulinma
parent 1d0e68c5a4
commit 4ed5dd21e3
4 changed files with 111 additions and 39 deletions

View file

@ -29,6 +29,8 @@
#define RAX_REQDFIELDS_LEN 36
namespace Util{
Util::DataCallback defaultDataCallback;
/// Helper function that cross-platform checks if a given directory exists.
bool isDirectory(const std::string &path){
#if defined(_WIN32)