Crate simplist [] [src]

simplist: simple http.

plain and simple http for when you just want to make a darn request!

this crate is a super thin and lightweight wrapper on top of hyper, and provides apis for futures-based async, traditional sync and async-await models.

Structs

HttpClient

an asynchronous, futures-based http client.

HttpContent

the optional body of a http request.

HttpRequest

a http request.

HttpResponse

a http response, whose body can be read asynchronously.

HttpSyncClient

a synchronous http client; the blocking, synchronous variation of HttpClient.

HttpSyncResponse

a http response, whose body can be read synchronously. this is the, synchronous variation of HttpResponse.

Url

simple access to a url and its components.

Enums

HttpError

the error type for all errors in crate simplist.

HttpMethod

an enum for representing and comparing http methods.

Traits

IntoUrl

freely convertible to a Url.