Function gix_transport::client::http::connect
source · pub fn connect(
url: Url,
desired_version: Protocol,
trace: bool
) -> Transport<Impl>
Available on crate feature
blocking-client
and crate feature http-client
and (crate features http-client-curl
or http-client-reqwest
) only.Expand description
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.