Http

An HTTP client.

Constructors

this
this()

Default constructor

this
this(const(char)[] host, ushort port)

Construct the HTTP client with the target host.

Destructor

~this
~this()

Destructor

Members

Classes

Request
class Request

Define a HTTP request.

Response
class Response

Define a HTTP response.

Functions

sendRequest
Response sendRequest(Request request, Time timeout)

Send a HTTP request and return the server's response.

setHost
void setHost(const(char)[] host, ushort port)

Set the target host.

Variables

sfPtr
sfHttp* sfPtr;
Undocumented in source.

Meta