pub fn apply_endpoint(
    uri: &mut Uri,
    endpoint: &Uri,
    prefix: Option<&EndpointPrefix>
) -> Result<(), InvalidEndpointError>
Expand description

Apply endpoint to uri

This method mutates uri by setting the endpoint on it