WebClient

Undocumented in source.

Constructors

this
this(string uri)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

connect
int connect(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

get
WebData get(string uri, string[string] headers, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
get_async
NNGAio get_async(string uri, string[string] headers, webclienthandler handler, Duration timeout, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.
post
WebData post(string uri, ubyte[] data, string[string] headers, Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
post_async
NNGAio post_async(string uri, ubyte[] data, string[string] headers, webclienthandler handler, Duration timeout, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.
request
NNGAio request(string method, string uri, string[string] headers, string text, ubyte[] data, webclienthandler onsuccess, webclienthandler onerror, Duration timeout, void* context)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cli
nng_http_client* cli;
Undocumented in source.
conn
nng_http_conn* conn;
Undocumented in source.
connected
bool connected;
Undocumented in source.
req
nng_http_req* req;
Undocumented in source.
res
nng_http_res* res;
Undocumented in source.
url
nng_url* url;
Undocumented in source.

Meta