HTTP::Downloader::post() now supports pointers+sizes besides only std::strings.
This commit is contained in:
parent
1824100303
commit
35e3fb4bca
4 changed files with 41 additions and 18 deletions
|
@ -39,6 +39,7 @@ namespace HTTP{
|
|||
std::string &BuildResponse();
|
||||
std::string &BuildResponse(std::string code, std::string message);
|
||||
void SendRequest(Socket::Connection &conn, const std::string &reqbody = "", bool allAtOnce = false);
|
||||
void sendRequest(Socket::Connection &conn, const void * body = 0, const size_t bodyLen = 0, bool allAtOnce = false);
|
||||
void SendResponse(std::string code, std::string message, Socket::Connection &conn);
|
||||
void StartResponse(std::string code, std::string message, Parser &request,
|
||||
Socket::Connection &conn, bool bufferAllChunks = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue