[−][src]Function async_google_apis_common::do_upload
pub async fn do_upload<Resp: DeserializeOwned + Clone, '_, '_, '_, '_>(
cl: &'_ TlsClient,
path: &'_ str,
headers: &'_ [(String, String)],
http_method: &'_ str,
data: Bytes
) -> Result<Resp>
The Content-Length header is set automatically.