Module uri

Module uri 

Expand description

Request Uri utilities

NOTE: in future this needs to move in its own crate or some core module below rama-http-types as the Uri goes beyond http…

Modules§

match_replace
Uri match and replace rules.

Structs§

UriMatchReplaceDomain
Replace or overwrite the existing Domain.
UriMatchReplaceFallthrough
Apply fallthrough to slices, arrays, tuples or vectors.
UriMatchReplaceRule
A rule that matches a Uri against a simple wildcard pattern and, if it matches, produces a new Uri using a capture-aware formatter.
UriMatchReplaceRuleset
A Set of UriMatchReplaceRule, which is an optimised version of a generic UriMatchReplace slice impl.
UriMatchReplaceScheme
Replace or overwrite the existing Scheme.

Enums§

UriMatchError
Error (including NoMatch) returned by a UriMatchReplace::match_replace_uri call.

Traits§

UriMatchReplace
A trait for types that can match and optionally replace (rewrite) Uri values.