pub async fn query( http_client: &Client, did: &str, ) -> Result<Document, WebDIDError>
Queries a did:web DID document from its hosting location. Resolves the DID to HTTPS URL and fetches the JSON document.