WinINetNetwork

Undocumented in source.

Members

Aliases

HNet
alias HNet = RefCounted!HNetImpl
Undocumented in source.

Functions

downloadFile
void downloadFile(string url, string target)
Undocumented in source. Be warned that the author may not have intended to support it.
getFile
void[] 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
void[] post(string url, void[] 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.

Static functions

checkOK
void checkOK(HNet hUrl)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
HNet connect(HNet hNet, string serverName, INTERNET_PORT port)
Undocumented in source. Be warned that the author may not have intended to support it.
doDownload
void doDownload(HNet hUrl, void delegate(ubyte[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
doDownload
void doDownload(HNet hUrl, void delegate(const ubyte[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
httpQuery
void[][] httpQuery(HNet hUrl, uint infoLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
httpQueryNumber
uint httpQueryNumber(HNet hUrl, uint infoLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
httpQueryOne
void[] httpQueryOne(HNet hUrl, uint infoLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
httpQueryString
string httpQueryString(HNet hUrl, uint infoLevel)
Undocumented in source. Be warned that the author may not have intended to support it.
open
HNet open(DWORD flags)
Undocumented in source. Be warned that the author may not have intended to support it.
openRequest
HNet openRequest(HNet hCon, string method, string resource, DWORD flags)
Undocumented in source. Be warned that the author may not have intended to support it.
openUrl
HNet openUrl(HNet hNet, string url)
Undocumented in source. Be warned that the author may not have intended to support it.
sendRequest
void sendRequest(HNet hReq, string headers, void[] optionalData)
Undocumented in source. Be warned that the author may not have intended to support it.
urlFlags
DWORD urlFlags(string url)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

buf
ubyte[0x10000] buf;
Undocumented in source.

Structs

HNetImpl
struct HNetImpl
Undocumented in source.

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
void[] getFile(string url)

Get resource located at the indicated URL.

post
void[] post(string url, void[] 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)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta