Skip to main content

parse_envelope_document

Function parse_envelope_document 

Source
pub fn parse_envelope_document(
    body: &Value,
) -> Option<(String, TrustTask<Value>)>
Expand description

Parse a DIDComm envelope body into (threadId, document). None when the body is not a threaded Trust Task document.