apply_http_endpoint

Function apply_http_endpoint 

Source
pub fn apply_http_endpoint(
    request: &mut Request,
    endpoint: &Endpoint,
    cfg: &ConfigBag,
) -> Result<(), SerdeError>
Expand description

Applies a resolved endpoint to an HTTP request.

This is the canonical HTTP implementation of ClientProtocolInner::update_endpoint. HTTP protocols should delegate to it.

Handles endpoint prefixes (for EndpointPrefix-enabled operations) and endpoint-supplied headers.