Skip to main content

iroh_next_endpoint_url

Function iroh_next_endpoint_url 

Source
pub fn iroh_next_endpoint_url(endpoint: &str) -> Result<SafeUrl>
Expand description

Parse an advertised Iroh 1.0 endpoint ID into its API URL.

The /v1 path is an internal transport-selection marker. It prevents the connector from attempting Iroh 0.35 against an Iroh 1.0-only identity, avoiding both an inappropriate connection attempt and its overhead.