Libevhtp  0.3.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Data Fields
evhtp_request_s Struct Reference

a structure containing all information for a http request. More...

#include <evhtp.h>

Public Member Functions

 TAILQ_ENTRY (evhtp_request_s) next
 

Data Fields

evhtp_thtp
 
evhtp_connection_tconn
 
evhtp_hooks_thooks
 
evhtp_uri_turi
 
evbuf_tbuffer_in
 
evbuf_tbuffer_out
 
evhtp_headers_theaders_in
 
evhtp_headers_theaders_out
 
evhtp_proto proto
 
htp_method method
 
evhtp_res status
 
int keepalive
 
int finished
 
int chunked
 
evhtp_callback_cb cb
 
void * cbarg
 
int error
 

Detailed Description

a structure containing all information for a http request.

Definition at line 395 of file evhtp.h.

Member Function Documentation

TAILQ_ENTRY ( evhtp_request_s  )

Field Documentation

evbuf_t* buffer_in

buffer containing data from client

Definition at line 400 of file evhtp.h.

evbuf_t* buffer_out

buffer containing data to client

Definition at line 401 of file evhtp.h.

the function to call when fully processed

Definition at line 411 of file evhtp.h.

void* cbarg

argument which is passed to the cb function

Definition at line 412 of file evhtp.h.

int chunked

set to 1 if the request is chunked

Definition at line 409 of file evhtp.h.

the associated connection

Definition at line 397 of file evhtp.h.

int error

Definition at line 413 of file evhtp.h.

int finished

set to 1 if the request is fully processed

Definition at line 408 of file evhtp.h.

evhtp_headers_t* headers_in

headers from client

Definition at line 402 of file evhtp.h.

evhtp_headers_t* headers_out

headers to client

Definition at line 403 of file evhtp.h.

evhtp_hooks_t* hooks

request specific hooks

Definition at line 398 of file evhtp.h.

evhtp_t* htp

the parent evhtp_t structure

Definition at line 396 of file evhtp.h.

int keepalive

set to 1 if the connection is keep-alive

Definition at line 407 of file evhtp.h.

htp_method method

HTTP method used

Definition at line 405 of file evhtp.h.

evhtp_proto proto

HTTP protocol used

Definition at line 404 of file evhtp.h.

evhtp_res status

The HTTP response code or other error conditions

Definition at line 406 of file evhtp.h.

request URI information

Definition at line 399 of file evhtp.h.


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