pub fn apply_endpoint( uri: &mut Uri, endpoint: &Uri, prefix: Option<&EndpointPrefix>, ) -> Result<(), InvalidEndpointError>
Apply endpoint to uri
endpoint
uri
This method mutates uri by setting the endpoint on it