HttpClient

Undocumented in source.

Constructors

this
this(Duration timeout, Connector connector)
Undocumented in source.

Members

Functions

adaptConnection
IConnection adaptConnection(IConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
connected
bool connected()
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect(string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
onConnect
void onConnect()
Undocumented in source. Be warned that the author may not have intended to support it.
onContinuation
void onContinuation(Data data)
Undocumented in source. Be warned that the author may not have intended to support it.
onData
void onData(Data[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
onDisconnect
void onDisconnect(string reason, DisconnectType type)
Undocumented in source. Be warned that the author may not have intended to support it.
onDone
void onDone()
Undocumented in source. Be warned that the author may not have intended to support it.
onHeadersReceived
void onHeadersReceived()
Undocumented in source. Be warned that the author may not have intended to support it.
onNewResponse
void onNewResponse(Data data)
Undocumented in source. Be warned that the author may not have intended to support it.
processResponse
void processResponse(string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
request
void request(HttpRequest request)
Undocumented in source. Be warned that the author may not have intended to support it.
sendRawRequest
void sendRawRequest(HttpRequest request)
Undocumented in source. Be warned that the author may not have intended to support it.
sendRequest
void sendRequest(HttpRequest request)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

agent
string agent;
Undocumented in source.
compat
bool compat;
Undocumented in source.
cookies
string[] cookies;
Undocumented in source.
currentRequest
HttpRequest currentRequest;
Undocumented in source.
currentResponse
HttpResponse currentResponse;
Undocumented in source.
expect
size_t expect;
Undocumented in source.
handleResponse
void delegate(HttpResponse response, string disconnectReason) handleResponse;
Undocumented in source.
keepAlive
bool keepAlive;
Undocumented in source.

Meta