pub fn connect(
    url: &str,
    desired_version: Protocol
) -> Result<Transport<Impl>, Infallible>
Expand description

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