evhttp_connection_base_new

A connection object that can be used to for making HTTP requests. The connection object tries to resolve address and establish the connection when it is given an http request object.

@param base the event_base to use for handling the connection @param dnsbase the dns_base to use for resolving host names; if not specified host name resolution will block. @param address the address to which to connect @param port the port to connect to @return an evhttp_connection object that can be used for making requests

extern (C) nothrow
evhttp_connection_base_new
(,,
const(char)* address
,
ushort port
)

Meta