proxygen
|
#include <http_parser.h>
Public Attributes | |
unsigned char | type: 2 |
unsigned char | flags: 6 |
unsigned char | state |
unsigned char | header_state |
unsigned char | index |
uint32_t | nread |
int64_t | content_length |
unsigned short | http_major |
unsigned short | http_minor |
unsigned short | status_code |
unsigned char | method |
unsigned char | http_errno: 7 |
char | upgrade: 1 |
void * | data |
Definition at line 212 of file http_parser.h.
int64_t http_parser::content_length |
Definition at line 221 of file http_parser.h.
Referenced by chunk_header_cb(), http_parser_execute(), and proxygen::HTTP1xCodec::onChunkHeaderCB().
void* http_parser::data |
PUBLIC
Definition at line 242 of file http_parser.h.
Referenced by proxygen::HTTP1xCodec::HTTP1xCodec(), proxygen::HTTP1xCodec::onBodyCB(), proxygen::HTTP1xCodec::onChunkCompleteCB(), proxygen::HTTP1xCodec::onChunkHeaderCB(), proxygen::HTTP1xCodec::onHeaderFieldCB(), proxygen::HTTP1xCodec::onHeadersCompleteCB(), proxygen::HTTP1xCodec::onHeaderValueCB(), proxygen::HTTP1xCodec::onMessageBeginCB(), proxygen::HTTP1xCodec::onMessageCompleteCB(), proxygen::HTTP1xCodec::onReasonCB(), and proxygen::HTTP1xCodec::onUrlCB().
unsigned char http_parser::flags |
Definition at line 215 of file http_parser.h.
Referenced by http_parser_execute(), http_parser_init(), and proxygen::HTTP1xCodec::onHeadersComplete().
unsigned char http_parser::header_state |
Definition at line 217 of file http_parser.h.
Referenced by http_parser_execute().
unsigned char http_parser::http_errno |
Definition at line 228 of file http_parser.h.
Referenced by http_parser_execute(), and http_parser_init().
unsigned short http_parser::http_major |
READ-ONLY
Definition at line 224 of file http_parser.h.
Referenced by proxygen::HTTP1xCodec::generateHeader(), headers_complete_cb(), http_parser_execute(), http_parser_init(), proxygen::HTTP1xCodec::onHeadersComplete(), and proxygen::HTTP1xCodec::onIngress().
unsigned short http_parser::http_minor |
Definition at line 225 of file http_parser.h.
Referenced by proxygen::HTTP1xCodec::generateHeader(), headers_complete_cb(), http_parser_execute(), http_parser_init(), proxygen::HTTP1xCodec::onHeadersComplete(), and proxygen::HTTP1xCodec::onIngress().
unsigned char http_parser::index |
Definition at line 218 of file http_parser.h.
Referenced by http_parser_execute().
unsigned char http_parser::method |
Definition at line 227 of file http_parser.h.
Referenced by headers_complete_cb(), http_parser_execute(), http_parser_init(), and proxygen::HTTP1xCodec::onHeadersComplete().
uint32_t http_parser::nread |
Definition at line 220 of file http_parser.h.
Referenced by http_parser_execute(), and http_parser_init().
unsigned char http_parser::state |
Definition at line 216 of file http_parser.h.
Referenced by gdb.FiberPrinter::backtrace_available(), http_parser_execute(), http_parser_init(), and gdb.FiberPrinter::state_to_string().
unsigned short http_parser::status_code |
Definition at line 226 of file http_parser.h.
Referenced by headers_complete_cb(), http_parser_execute(), and proxygen::HTTP1xCodec::onHeadersComplete().
unsigned char http_parser::type |
PRIVATE
Definition at line 214 of file http_parser.h.
Referenced by cpp.ast.Parameter::__init__(), cpp.ast.VariableDeclaration::__init__(), cpp.ast.Parameter::__str__(), http_parser_execute(), http_parser_init(), and cpp.ast.VariableDeclaration::ToString().
char http_parser::upgrade |
Definition at line 235 of file http_parser.h.
Referenced by http_parser_execute(), http_parser_init(), proxygen::HTTP1xCodec::onHeadersComplete(), test_message(), test_message_pause(), test_multiple3(), and test_scan().