libevent
Public Member Functions | Data Fields
evhttp_request Struct Reference

the request structure that a server receives. More...

#include <http_struct.h>

Public Member Functions

 TAILQ_ENTRY (evhttp_request) next

Data Fields

size_t body_size
void(* cb )(struct evhttp_request *, void *)
void * cb_arg
void(* chunk_cb )(struct evhttp_request *, void *)
unsigned chunked:1
struct evhttp_connection * evcon
int flags
size_t headers_size
char * host_cache
struct evbuffer * input_buffer
struct evkeyvalq * input_headers
enum evhttp_request_kind kind
char major
char minor
ev_int64_t ntoread
struct evbuffer * output_buffer
struct evkeyvalq * output_headers
char * remote_host
ev_uint16_t remote_port
int response_code
char * response_code_line
enum evhttp_cmd_type type
char * uri
struct evhttp_uri * uri_elems
unsigned userdone:1

Detailed Description

the request structure that a server receives.

WARNING: expect this structure to change. I will try to provide reasonable accessors.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines