Public Types | |
enum | ParserType { RequestParser, ResponseParser } |
Public Member Functions | |
CHTTP_1_0_Parser (ParserType type, const std::string &protocol, bool supportsHTTP09, DWORD maxHTTPMethodLength) | |
CHTTP_1_0_Parser (ParserType type) | |
CHTTP_1_0_Parser (const CHTTP_1_0_Parser &rhs) | |
virtual | ~CHTTP_1_0_Parser () |
CHTTP_1_0_Parser & | operator= (const CHTTP_1_0_Parser &rhs) |
bool | OnDataReceived (JetByteTools::IO::CSmartBuffer &buffer) |
Protected Types | |
enum | State { RTPEscapedData, Method, URI, Version, Headers, Entity, Dispatch, SendingResponse } |
Protected Member Functions | |
CHTTP_1_0_Parser (ParserType type, const std::string &protocol, State initialState, bool supportsHTTP09, DWORD maxHTTPMethodLength) |
enum ParserType |
enum State [protected] |
CHTTP_1_0_Parser | ( | ParserType | type, | |
const std::string & | protocol, | |||
bool | supportsHTTP09, | |||
DWORD | maxHTTPMethodLength | |||
) |
CHTTP_1_0_Parser | ( | ParserType | type | ) | [explicit] |
CHTTP_1_0_Parser | ( | const CHTTP_1_0_Parser & | rhs | ) |
virtual ~CHTTP_1_0_Parser | ( | ) | [virtual] |
CHTTP_1_0_Parser | ( | ParserType | type, | |
const std::string & | protocol, | |||
State | initialState, | |||
bool | supportsHTTP09, | |||
DWORD | maxHTTPMethodLength | |||
) | [protected] |
CHTTP_1_0_Parser& operator= | ( | const CHTTP_1_0_Parser & | rhs | ) |
bool OnDataReceived | ( | JetByteTools::IO::CSmartBuffer & | buffer | ) |