27 #ifndef _EVENT2_HTTP_COMPAT_H_
28 #define _EVENT2_HTTP_COMPAT_H_
41 #include <event2/event-config.h>
42 #ifdef _EVENT_HAVE_SYS_TYPES_H
43 #include <sys/types.h>
45 #ifdef _EVENT_HAVE_SYS_TIME_H
71 const char *address,
unsigned short port);
84 #define evhttp_request_uri evhttp_request_get_uri
struct evhttp_connection * evhttp_connection_new(const char *address, unsigned short port)
A connection object that can be used to for making HTTP requests.
Definition: http.c:2058
void evhttp_connection_set_base(struct evhttp_connection *evcon, struct event_base *base)
Associates an event base with the connection - can only be called on a freshly created connection obj...
Definition: http.c:2121
struct evhttp * evhttp_start(const char *address, unsigned short port)
Start an HTTP server on the specified address and port.
Definition: http.c:3223
Definition: http-internal.h:62
Common convenience functions for cross-platform portability and related socket manipulations.
Definition: http-internal.h:136
Definition: event-internal.h:167