- connectHTTP
auto connectHTTP(string host, ushort port, bool use_tls, const(HTTPClientSettings) settings)
auto connectHTTP(URL url, const(HTTPClientSettings) settings)
Returns a HTTPClient proxy object that is connected to the specified host.
- getFilteredHost
auto getFilteredHost(URL url)
Returns clean host string. In case of unix socket it performs urlDecode on host.
- requestHTTP
HTTPClientResponse requestHTTP(string url, void delegate(scope HTTPClientRequest req) requester, const(HTTPClientSettings) settings)
HTTPClientResponse requestHTTP(URL url, void delegate(scope HTTPClientRequest req) requester, const(HTTPClientSettings) settings)
void requestHTTP(string url, void delegate(scope HTTPClientRequest req) requester, void delegate(scope HTTPClientResponse req) responder, const(HTTPClientSettings) settings)
void requestHTTP(URL url, void delegate(scope HTTPClientRequest req) requester, void delegate(scope HTTPClientResponse req) responder, const(HTTPClientSettings) settings)
Performs a synchronous HTTP request on the specified URL.
A simple HTTP/1.1 client implementation.