proxygen
message Struct Reference

Public Types

enum  { NONE =0, FIELD, VALUE }
 

Public Attributes

const char * name
 
const char * raw
 
enum http_parser_type type
 
enum http_method method
 
int status_code
 
char request_url [500]
 
char response_reason [500]
 
size_t response_reason_size
 
char body [500]
 
size_t body_size
 
int num_headers
 
enum message:: { ... }  last_header_element
 
char headers [13][2][500]
 
int should_keep_alive
 
int num_chunks
 
int num_chunks_complete
 
int chunk_lengths [16]
 
const char * upgrade
 
unsigned short http_major
 
unsigned short http_minor
 
int message_begin_cb_called
 
int headers_complete_cb_called
 
int message_complete_cb_called
 
int message_complete_on_eof
 

Detailed Description

Definition at line 42 of file test.c.

Member Enumeration Documentation

anonymous enum
Enumerator
NONE 
FIELD 
VALUE 

Definition at line 54 of file test.c.

enum message::@3 last_header_element

Member Data Documentation

size_t message::body_size

Definition at line 52 of file test.c.

Referenced by body_cb(), count_body_cb(), and message_eq().

int message::chunk_lengths[16]

Definition at line 60 of file test.c.

Referenced by chunk_header_cb(), main(), and message_eq().

char message::headers[13][2][500]

Definition at line 55 of file test.c.

Referenced by header_field_cb(), header_value_cb(), and message_eq().

int message::headers_complete_cb_called

Definition at line 68 of file test.c.

Referenced by headers_complete_cb(), and message_eq().

unsigned short message::http_major

Definition at line 64 of file test.c.

Referenced by headers_complete_cb(), and message_eq().

unsigned short message::http_minor

Definition at line 65 of file test.c.

Referenced by headers_complete_cb(), and message_eq().

enum { ... } message::last_header_element

Referenced by header_field_cb(), and header_value_cb().

int message::message_begin_cb_called

Definition at line 67 of file test.c.

Referenced by message_begin_cb(), message_eq(), and test_on_message_begin_cb().

int message::message_complete_cb_called

Definition at line 69 of file test.c.

Referenced by message_complete_cb(), message_eq(), and test_message_pause().

int message::message_complete_on_eof

Definition at line 70 of file test.c.

Referenced by message_complete_cb(), and message_eq().

enum http_method message::method

Definition at line 46 of file test.c.

Referenced by headers_complete_cb(), and message_eq().

int message::num_chunks

Definition at line 58 of file test.c.

Referenced by chunk_header_cb(), and message_eq().

int message::num_chunks_complete

Definition at line 59 of file test.c.

Referenced by chunk_complete_cb(), and message_eq().

int message::num_headers

Definition at line 53 of file test.c.

Referenced by header_field_cb(), header_value_cb(), and message_eq().

char message::request_url[500]

Definition at line 48 of file test.c.

Referenced by message_eq(), and request_url_cb().

char message::response_reason[500]

Definition at line 49 of file test.c.

Referenced by message_eq(), and response_reason_cb().

size_t message::response_reason_size

Definition at line 50 of file test.c.

int message::should_keep_alive

Definition at line 56 of file test.c.

Referenced by main().

int message::status_code

Definition at line 47 of file test.c.

Referenced by headers_complete_cb(), and message_eq().

const char* message::upgrade

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