Skip to main content

Module client

Module client 

Source

Structs§

Client
An HTTP client. Mirrors Go’s http.Client.
Transport
Default RoundTripper with per-host idle connection pooling. Port of Go’s http.Transport.

Traits§

RoundTripper
The low-level interface for executing a single HTTP request. Port of Go’s http.RoundTripper.

Functions§

get
Issue a GET using the default client. Port of Go’s http.Get.
head
Issue a HEAD using the default client.
post
Issue a POST using the default client. Port of Go’s http.Post.
post_form
Issue a POST form using the default client. Port of Go’s http.PostForm.