Http::Client - mfichman/jogo GitHub Wiki

A client object outputs request objects to the stream specified by the 'stream' attribute. Optionally, a client can be created via the Http module factory functions (i.e., Http::open).

@init(host String, port Int)

Initializes a new HTTP client object

methodstr(method Http::Method) String

Returns the Method enumeration as a string.

request(request Http::Request) Http::Response

Issues a new request using the given IO stream.

@destroy()

No comment

socket?() Socket::Stream

No comment