query

Function query 

Source
pub async fn query(
    http_client: &Client,
    did: &str,
) -> Result<Document, WebDIDError>
Expand description

Queries a did:web DID document from its hosting location. Resolves the DID to HTTPS URL and fetches the JSON document.