HttpClient

Undocumented in source.

Members

Functions

doHttpRequestOnHelpers
HttpResponse doHttpRequestOnHelpers(void delegate(string) write, char[] delegate() read, string method, string uri, const(ubyte)[] content, string[string] cookies, string[] headers, bool https)

Executes a generic http request, returning the full result. The correct formatting of the parameters are the caller's responsibility. Content-Length is added automatically, but YOU must give Content-Type!

getBinary
ubyte[] getBinary(string url, string[string] cookies)
Undocumented in source. Be warned that the author may not have intended to support it.
httpRequest
HttpResponse httpRequest(string method, string uri, const(ubyte)[] content, string[string] cookies, string[] headers)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

HttpResponse
struct HttpResponse
Undocumented in source.
UriParts
struct UriParts
Undocumented in source.

Meta