The OpenD Programming Language

HttpClient

HttpClient keeps cookies, location, and some other state to reuse connections, when possible, like a web browser.

version(none)
class HttpClient {
bool useHttp11;
bool useGzip;
string method;
string host;
ushort port;
string uri;
string[] headers;
ubyte[] requestBody;
string userAgent;
string[string] cookies;
}

Members

Functions

navigateTo
AsynchronousHttpRequest navigateTo(Url where)

High level function that works similarly to entering a url into a browser.

Variables

followLocation
bool followLocation;

Automatically follow a redirection?

Meta