http/Client

module methods:

value methods:

http

Returns a http client.

(http/Client http) -> client

https

Return a https client.

(http/Client https certfilepath(string) keyfilepath(string)) -> client

proxy

Set the proxy of request. Return itself, or an error, if any.

(client proxy url(string)) -> self

ttl

Set the TTL of request. Return itself, or an error, if any.

(client ttl dur(duration)) -> self

do

Sends http/Request and returns http/Response, or an error, if any.

(client do request(request)) -> response