Function delete

Source
pub fn delete<U, R, C, T, SM>(
    uri: U,
    request: &R,
    token: &Token<C, T>,
    signature_method: SM,
) -> String
where U: Display, R: Request + ?Sized, C: AsRef<str>, T: AsRef<str>, SM: SignatureMethod,
Available on crate feature alloc only.
Expand description

Authorizes a DELETE request to uri with the given credentials.

This returns an HTTP Authorization header value.

uri must not contain a query part, which would result in a wrong signature.