Skip to main content

require_heard

Function require_heard 

Source
pub fn require_heard(
    endpoint: &Endpoint,
    token: &str,
    what: &str,
) -> Result<Heard, String>
Expand description

Refuse what unless the mock heard token, including a GET /1.3/account. Ok carries what was heard, for the transcript.