Skip to main content

did_json_url

Function did_json_url 

Source
pub fn did_json_url(hostname: &str) -> Result<String, ResolveError>
Expand description

The URL hostname’s did:web document is served at.

Split out so a caller that wants to make the fetch itself – and report its failure as its own thing rather than as a document failure – can build the same URL this module would have.