ae.net.http.client

A simple HTTP client.

Public Imports

ae.net.http.common
public import ae.net.http.common;
Undocumented in source.

Members

Classes

Connector
class Connector
Undocumented in source.
HttpClient
class HttpClient

Implements a HTTP client connection to a single server.

HttpsClient
class HttpsClient

HTTPS client.

SocketConnector
class SocketConnector(SocketType)
Undocumented in source.
TcpConnector
class TcpConnector
Undocumented in source.
UnixConnector
class UnixConnector
Undocumented in source.

Functions

httpGet
void httpGet(string url, void delegate(HttpResponse response, string disconnectReason) responseHandler)
void httpGet(string url, void delegate(Data) resultHandler, void delegate(string) errorHandler)
void httpGet(string url, void delegate(string) resultHandler, void delegate(string) errorHandler)
httpPost
void httpPost(string url, DataVec postData, string contentType, void delegate(HttpResponse response, string disconnectReason) responseHandler)
void httpPost(string url, DataVec postData, string contentType, void delegate(Data) resultHandler, void delegate(string) errorHandler)
void httpPost(string url, DataVec postData, string contentType, void delegate(string) resultHandler, void delegate(string) errorHandler)
void httpPost(string url, UrlParameters vars, void delegate(HttpResponse response, string disconnectReason) responseHandler)
void httpPost(string url, UrlParameters vars, void delegate(Data) resultHandler, void delegate(string) errorHandler)
void httpPost(string url, UrlParameters vars, void delegate(string) resultHandler, void delegate(string) errorHandler)

Asynchronous HTTP request

httpRequest
void httpRequest(HttpRequest request, void delegate(HttpResponse response, string disconnectReason) responseHandler)
void httpRequest(HttpRequest request, void delegate(Data) resultHandler, void delegate(string) errorHandler, int redirectCount)
void httpRequest(HttpRequest request, void delegate(string) resultHandler, void delegate(string) errorHandler)

Asynchronous HTTP request

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Stéphan Kochen <stephan@kochen.nl> Vladimir Panteleev <ae@cy.md> Vincent Povirk <madewokherd@gmail.com> Simon Arlott