proxygen
http_parser Struct Reference

#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
 

Detailed Description

Definition at line 212 of file http_parser.h.

Member Data Documentation

int64_t http_parser::content_length
unsigned char http_parser::flags
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 char http_parser::index

Definition at line 218 of file http_parser.h.

Referenced by http_parser_execute().

unsigned char http_parser::method
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
unsigned short http_parser::status_code

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