Libevhtp  0.3.7
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
 
uint8_t keepalive: 1
 
uint8_t finished: 1
 
uint8_t chunked: 1
 
uint8_t error: 1
 
uint8_t pad: 4
 
evhtp_callback_cb cb
 
void * cbarg
 

Detailed Description

a structure containing all information for a http request.

Definition at line 411 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 416 of file evhtp.h.

evbuf_t* buffer_out

buffer containing data to client

Definition at line 417 of file evhtp.h.

the function to call when fully processed

Definition at line 429 of file evhtp.h.

void* cbarg

argument which is passed to the cb function

Definition at line 430 of file evhtp.h.

uint8_t chunked

set to 1 if the request is chunked

Definition at line 423 of file evhtp.h.

the associated connection

Definition at line 413 of file evhtp.h.

uint8_t error

set if any sort of error has occurred.

Definition at line 423 of file evhtp.h.

uint8_t finished

set to 1 if the request is fully processed

Definition at line 423 of file evhtp.h.

evhtp_headers_t* headers_in

headers from client

Definition at line 418 of file evhtp.h.

evhtp_headers_t* headers_out

headers to client

Definition at line 419 of file evhtp.h.

evhtp_hooks_t* hooks

request specific hooks

Definition at line 414 of file evhtp.h.

evhtp_t* htp

the parent evhtp_t structure

Definition at line 412 of file evhtp.h.

uint8_t keepalive

set to 1 if the connection is keep-alive

Definition at line 423 of file evhtp.h.

htp_method method

HTTP method used

Definition at line 421 of file evhtp.h.

uint8_t pad

to be used in evhtp2 for new stuff

Definition at line 423 of file evhtp.h.

evhtp_proto proto

HTTP protocol used

Definition at line 420 of file evhtp.h.

evhtp_res status

The HTTP response code or other error conditions

Definition at line 422 of file evhtp.h.

request URI information

Definition at line 415 of file evhtp.h.


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