Function aws_smithy_http::endpoint::apply_endpoint

source ·
pub fn apply_endpoint(
    uri: &mut Uri,
    endpoint: &Uri,
    prefix: Option<&EndpointPrefix>
) -> Result<(), InvalidEndpointError>
👎Deprecated since 0.60.1: Use aws_smithy_runtime::client::endpoint::apply_endpoint instead.
Expand description

Apply endpoint to uri

This method mutates uri by setting the endpoint on it