CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
http::ResponseParser Class Reference

#include <http_parser.h>

Inherits http::Parser.

Public Member Functions

 ResponseParser (ResponseProcessor &proc_)
 
void handle_completed_message () override
 
- Public Member Functions inherited from http::Parser
void execute (const uint8_t *data, size_t size)
 
void append_body (const char *at, size_t length)
 
virtual void new_message ()
 
void end_message ()
 
void header_field (const char *at, size_t length)
 
void header_value (const char *at, size_t length)
 
void headers_complete ()
 

Additional Inherited Members

- Protected Member Functions inherited from http::Parser
void complete_header ()
 
 Parser (llhttp_type_t type, const ccf::http::ParserConfiguration &config=ccf::http::ParserConfiguration{})
 
- Protected Attributes inherited from http::Parser
llhttp_t parser
 
llhttp_settings_t settings
 
ccf::http::ParserConfiguration configuration
 
State state = DONE
 
std::vector< uint8_t > body_buf
 
ccf::http::HeaderMap headers
 
std::pair< std::string, std::string > partial_parsed_header = {}
 

Constructor & Destructor Documentation

◆ ResponseParser()

http::ResponseParser::ResponseParser ( ResponseProcessor proc_)
inline

Member Function Documentation

◆ handle_completed_message()

void http::ResponseParser::handle_completed_message ( )
inlineoverridevirtual

Implements http::Parser.


The documentation for this class was generated from the following file: