const mixinafColdFeet::UrlTransformer
afColdFeet::UrlTransformer
(Service) - ColdFeet's strategy for transforming URLs.
- extractDigest
abstract Str extractDigest(Uri coldFeetUrl)
Extracts and returns the digest embedded within the given ColdFeet URL.
Both should always start with a slash.
- fromColdFeet
abstract Uri fromColdFeet(Uri coldFeetUrl)
Converts the given ColdFeet URL to a local URL.
Both should always start with a slash.
- isColdFeet
abstract Bool isColdFeet(Uri localUrl)
Is the URL a recognisable ColdFeet URL?
The given URL will always start with a slash.
- toColdFeet
abstract Uri toColdFeet(Uri localUrl, Str digest)
Transforms the given URL with the digest to a ColdFeet URL.