pub fn apply_endpoint(
uri: &mut Uri,
endpoint: &Uri,
prefix: Option<&EndpointPrefix>,
) -> Result<(), InvalidEndpointError>👎Deprecated since 1.8.0: Depends on pre 1.x http types. May be removed or feature gated in a future minor version.
Expand description
Apply endpoint to uri
This method mutates uri by setting the endpoint on it