HTTP module
Parser::MessageScratch
The start line and headers of the message being parsed, applied to the request or response once its headers are complete
MessageScratch
#include <icy/http/parser.h>
struct MessageScratchDefined in src/http/include/icy/http/parser.h:142
The start line and headers of the message being parsed, applied to the request or response once its headers are complete.
Public Attributes
| Return | Name | Description |
|---|---|---|
std::string | version | |
std::string | method | |
std::string | uri | |
std::string | reason | |
http::StatusCode | status | |
std::vector< std::pair< std::string, std::string > > | headers |
version
std::string versionDefined in src/http/include/icy/http/parser.h:144
method
std::string methodDefined in src/http/include/icy/http/parser.h:145
uri
std::string uriDefined in src/http/include/icy/http/parser.h:146
reason
std::string reasonDefined in src/http/include/icy/http/parser.h:147
status
http::StatusCode status = http::StatusCode::OKType: http::StatusCode
Defined in src/http/include/icy/http/parser.h:148
headers
std::vector< std::pair< std::string, std::string > > headersDefined in src/http/include/icy/http/parser.h:149
Public Methods
| Return | Name | Description |
|---|---|---|
void | reset inline |
reset
inline
inline void reset()