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§
Functions§
- decode_
request_ data - Returns a result containing either a
DecodedClientRoutingLabel
or aDecodeLengthError
. - encode_
request_ data - Returns domain with client routing key prepended as a subdomain.