27#ifndef EVENT2_HTTP_COMPAT_H_INCLUDED_
28#define EVENT2_HTTP_COMPAT_H_INCLUDED_
41#include <event2/event-config.h>
42#ifdef EVENT__HAVE_SYS_TYPES_H
45#ifdef EVENT__HAVE_SYS_TIME_H
74 const char *address, ev_uint16_t port);
88#define evhttp_request_uri evhttp_request_get_uri
EVENT2_EXPORT_SYMBOL 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...
EVENT2_EXPORT_SYMBOL struct evhttp_connection * evhttp_connection_new(const char *address, ev_uint16_t port)
A connection object that can be used to for making HTTP requests.
EVENT2_EXPORT_SYMBOL struct evhttp * evhttp_start(const char *address, ev_uint16_t port)
Start an HTTP server on the specified address and port.
Structure to hold information and state for a Libevent dispatch loop.
Definition: event.h:219
Common convenience functions for cross-platform portability and related socket manipulations.