pub fn connect(
    url: &str,
    desired_version: Protocol
) -> Result<Transport<Impl>, Infallible>
Available on crate features blocking-client and http-client-curl only.
Expand description

Connect to the given url via HTTP/S using the desired_version of the git protocol.