Available on crate features
blocking-client
and http-client
only.Expand description
Modules§
Structs§
- The return value of
Http::get()
. - Options to configure http requests.
- The return value of
Http::post()
. - A transport for supporting arbitrary http clients by abstracting interactions with them into the Http trait.
Enums§
- The error used by the Http trait.
- Whether or not the post body is expected to fit into memory or not.
Traits§
- A trait to abstract the HTTP operations needed to power all git interactions: read via GET and write via POST. Note that 401 must be turned into
std::io::Error(PermissionDenied)
, and other non-success http statuses must be transformed intostd::io::Error(Other)
Functions§
- connect
http-client-curl
orhttp-client-reqwest
Connect to the givenurl
via HTTP/S using thedesired_version
of thegit
protocol. Iftrace
istrue
, all packetlines received or sent will be passed to the facilities of thegix-trace
crate.
Type Aliases§
- Impl
http-client-curl
The actual http client implementation, using curl