Module gix_transport::client::http

source ·
Available on crate features blocking-client and http-client only.
Expand description

Modules§

Structs§

Enums§

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 into std::io::Error(Other)

Functions§

  • connecthttp-client-curl or http-client-reqwest
    Connect to the given url via HTTP/S using the desired_version of the git protocol. If trace is true, all packetlines received or sent will be passed to the facilities of the gix-trace crate.

Type Aliases§

  • Implhttp-client-curl
    The actual http client implementation, using curl