Skip to main content

fetch_endpoint_descriptor

Function fetch_endpoint_descriptor 

Source
pub async fn fetch_endpoint_descriptor(
    url: &str,
    keys: &DescriptorKeyring,
    http: &Client,
) -> Result<VerifiedEndpointDescriptor>
Expand description

Fetch /.well-known/heddle/iroh-endpoint as a JSON descriptor set and verify it against the application’s root keyring.