logo
pub async fn load_credential(
    url: &str
) -> Result<Credential, LoadCredentialError>
Expand description

Fetch a credential from a HTTP(S) URL. The resulting verifiable credential is not yet validated or verified.

The size of the loaded credential must not be greater than MAX_RESPONSE_LENGTH.