overloaded BuildReponse in http_parser
This commit is contained in:
parent
ee12bb4e9c
commit
d0f2f78517
2 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,7 @@ namespace HTTP {
|
|||
void SetBody(std::string s);
|
||||
void SetBody(char * buffer, int len);
|
||||
std::string & BuildRequest();
|
||||
std::string & BuildResponse();
|
||||
std::string & BuildResponse(std::string code, std::string message);
|
||||
void SendRequest(Socket::Connection & conn);
|
||||
void SendResponse(std::string code, std::string message, Socket::Connection & conn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue