#include <HttpParser.h>
Definition at line 13 of file HttpParser.h.
◆ extractBody()
std::string TgBot::HttpParser::extractBody |
( |
const std::string & | data | ) |
const |
◆ generateMultipartBoundary()
std::string TgBot::HttpParser::generateMultipartBoundary |
( |
const std::vector< HttpReqArg > & | args | ) |
const |
◆ generateMultipartFormData()
std::string TgBot::HttpParser::generateMultipartFormData |
( |
const std::vector< HttpReqArg > & | args, |
|
|
const std::string & | boundary ) const |
◆ generateRequest()
std::string TgBot::HttpParser::generateRequest |
( |
const Url & | url, |
|
|
const std::vector< HttpReqArg > & | args, |
|
|
bool | isKeepAlive = false ) const |
◆ generateResponse()
std::string TgBot::HttpParser::generateResponse |
( |
const std::string & | data, |
|
|
const std::string & | mimeType, |
|
|
unsigned short | statusCode, |
|
|
const std::string & | statusStr, |
|
|
bool | isKeepAlive ) const |
◆ generateWwwFormUrlencoded()
std::string TgBot::HttpParser::generateWwwFormUrlencoded |
( |
const std::vector< HttpReqArg > & | args | ) |
const |
◆ parseHeader()
std::unordered_map< std::string, std::string > TgBot::HttpParser::parseHeader |
( |
const std::string & | data, |
|
|
bool | isRequest ) const |
The documentation for this class was generated from the following file: