Function async_google_apis_common::do_upload_multipart
source · pub async fn do_upload_multipart<Req: Serialize + Debug, Resp: DeserializeOwned + Clone>(
cl: &TlsClient,
path: &str,
headers: &[(HeaderName, String)],
http_method: &str,
req: Option<Req>,
data: Bytes
) -> Result<Resp>
Expand description
The Content-Length header is set automatically.