Added authentication support to HTTP library

This commit is contained in:
Thulinma 2017-10-21 22:54:06 +02:00
parent 047aebdb27
commit c22a3c6e0f
2 changed files with 37 additions and 0 deletions

View file

@ -46,6 +46,7 @@ namespace HTTP {
void Proxy(Socket::Connection & from, Socket::Connection & to);
void Clean();
void CleanPreserveHeaders();
void auth(const std::string & user, const std::string & pass, const std::string & authReq);
std::string body;
std::string method;
std::string url;