[][src]Function krill::commons::util::httpclient::post_binary

pub async fn post_binary<'_, '_, '_>(
    uri: &'_ str,
    data: &'_ Bytes,
    content_type: &'_ str
) -> Result<Bytes, Error>

Posts binary data, and expects a binary response.

Note: Bytes may be empty if the post was successful, but the response was empty.