AENetwork

Network implementation based on ae.net.

Members

Functions

downloadFile
void downloadFile(string url, string target)
Undocumented in source. Be warned that the author may not have intended to support it.
getFile
ubyte[] getFile(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
httpRequest
HttpResponse httpRequest(HttpRequest request)
Undocumented in source. Be warned that the author may not have intended to support it.
post
ubyte[] post(string url, const(ubyte)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveRedirect
string resolveRedirect(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
urlOK
bool urlOK(string url)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Network

downloadFile
void downloadFile(string url, string target)

Download file located at the indicated URL, unless the target file already exists.

getFile
ubyte[] getFile(string url)

Get resource located at the indicated URL.

post
ubyte[] post(string url, const(ubyte)[] data)

Post data to the specified URL.

urlOK
bool urlOK(string url)

Check if the resource exists and is downloadable. E.g. the HTTP status code for a HEAD request should be 200.

resolveRedirect
string resolveRedirect(string url)

Get the destination of an HTTP redirect.

httpRequest
HttpResponse httpRequest(HttpRequest request)

Perform a HTTP request.

Meta