response_hash

Function response_hash 

Source
pub fn response_hash(
    response: &HttpResponse<'_>,
    response_certification: &DefaultResponseCertification<'_>,
    response_body_hash: Option<Hash>,
) -> Hash
Expand description

Calculates the Representation Independent Hash of an HttpResponse according to a CEL expression defined by DefaultResponseCertification.

An optional response body hash may be provided if this is known beforehand. If this override is not provided then the response body hash will be calculated by this function.