Crate amazon_cloudfront_client_routing_lib

Source
Expand description

This crate is a Rust version of CloudFront Client Routing Library. Functions are provided to encode a label and prepend it to a domain and to decode a label for verification purposes.

Modules§

client_routing_label
encode_decode
errors
hash
ip

Functions§

decode_request_data
Returns a result containing either a DecodedClientRoutingLabel or a DecodeLengthError.
encode_request_data
Returns domain with client routing key prepended as a subdomain.