Module git_transport::client::http
source · 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().
Enums
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 stati must be transformed
into std::io::Error(Other)Functions
connect
http-client-curl or http-client-reqwestConnect to the given
url via HTTP/S using the desired_version of the git protocol.Type Definitions
Impl
http-client-curlThe actual http client implementation, using curl