HTTP module
Parser::ParseResult
The outcome of one parse call: the bytes consumed, whether a message completed or upgraded the connection, and any error
ParseResult
#include <icy/http/parser.h>
struct ParseResultDefined in src/http/include/icy/http/parser.h:60
The outcome of one parse call: the bytes consumed, whether a message completed or upgraded the connection, and any error.
Public Attributes
| Return | Name | Description |
|---|---|---|
size_t | bytesConsumed | |
bool | messageComplete | |
bool | upgrade | |
Error | error |
bytesConsumed
size_t bytesConsumed = 0Defined in src/http/include/icy/http/parser.h:62
messageComplete
bool messageComplete = falseDefined in src/http/include/icy/http/parser.h:63
upgrade
bool upgrade = falseDefined in src/http/include/icy/http/parser.h:64
error
Error errorType: Error
Defined in src/http/include/icy/http/parser.h:65
Public Methods
| Return | Name | Description |
|---|---|---|
bool | ok const inline |
ok
const inline
inline bool ok() const