Trait httpsig_hyper::RequestContentDigest
source · pub trait RequestContentDigest {
type Error;
// Required methods
fn set_content_digest<'life0, 'async_trait>(
self,
cd_type: &'life0 ContentDigestType
) -> Pin<Box<dyn Future<Output = Result<Request<Full<Bytes>>, Self::Error>> + Send + 'async_trait>>
where Self: Sized + 'async_trait,
'life0: 'async_trait;
fn verify_content_digest<'async_trait>(
self
) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: Sized + 'async_trait;
}Expand description
A trait to set the http content digest in request in base64