[][src]Function stellar_toml::resolve

pub async fn resolve(domain: &str) -> Result<StellarToml, Error>

Returns a parsed stellar.toml file at domain.

This function will always fetch the stellar.toml file using https. If you need to fetch the file using http, you should build the uri using stellar_toml_path_insecure and then call resolve_url. Note, however, that this is not recommended.