return evcon->bufev;
}
+struct evhttp *
+evhttp_connection_get_server(struct evhttp_connection *evcon)
+{
+ return evcon->http_server;
+}
+
struct evhttp_connection *
evhttp_connection_base_new(struct event_base *base, struct evdns_base *dnsbase,
const char *address, unsigned short port)
*/
struct bufferevent* evhttp_connection_get_bufferevent(struct evhttp_connection *evcon);
+/**
+ * Return the HTTP server associated with this connection, or NULL.
+ */
+struct evhttp *evhttp_connection_get_server(struct evhttp_connection *evcon);
+
/**
* Creates a new request object that needs to be filled in with the request
* parameters. The callback is executed when the request completed or an