pub fn http_protocol_v2_fetch_response<C: HttpClient + ?Sized>(
client: &C,
remote: &RemoteUrl,
format: ObjectFormat,
handshake: &TransportHandshake,
fetch: ProtocolV2FetchRequest,
credentials: &mut dyn CredentialProvider,
config: Option<&GitConfig>,
) -> Result<Vec<ProtocolV2FetchResponseSection>>Expand description
Post a protocol v2 fetch RPC with wants/haves/shallow/deepen and
read back the sectioned response. Authenticates and validates status. When
the server advertises sideband-all, the request and response use the
sideband-all wire form.