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

pub 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.