Skip to main content

into_empty_request

Function into_empty_request 

Source
pub fn into_empty_request(
    _: RequestParts<()>,
) -> Result<Request<Vec<u8>>, Error>
Expand description

Converts request parts with an empty body into an HTTP request.

ยงErrors

Returns an error if the method or URI cannot be converted into an HTTP request.