Libevent Code Doxygen document
Classes | Macros
http_struct.h File Reference
#include <event2/event-config.h>
#include <event2/util.h>
Include dependency graph for http_struct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  evhttp_request
 

Macros

#define EVHTTP_REQ_OWN_CONNECTION   0x0001
 
#define EVHTTP_PROXY_REQUEST   0x0002
 
#define EVHTTP_USER_OWNED   0x0004
 
#define EVHTTP_REQ_DEFER_FREE   0x0008
 
#define EVHTTP_REQ_NEEDS_FREE   0x0010
 

Detailed Description

Data structures for http. Using these structures may hurt forward compatibility with later versions of Libevent: be careful!

Macro Definition Documentation

◆ EVHTTP_PROXY_REQUEST

#define EVHTTP_PROXY_REQUEST   0x0002

Request was made via a proxy

◆ EVHTTP_REQ_DEFER_FREE

#define EVHTTP_REQ_DEFER_FREE   0x0008

The request will be used again upstack; freeing must be deferred

◆ EVHTTP_REQ_NEEDS_FREE

#define EVHTTP_REQ_NEEDS_FREE   0x0010

The request should be freed upstack

◆ EVHTTP_REQ_OWN_CONNECTION

#define EVHTTP_REQ_OWN_CONNECTION   0x0001

The request obj owns the evhttp connection and needs to free it

◆ EVHTTP_USER_OWNED

#define EVHTTP_USER_OWNED   0x0004

The request object is owned by the user; the user must free it