@[reducible, inline]
A rewrite rule takes path segments and headers, returns new path segments and possibly modified headers.
Equations
Instances For
Rewrite request paths based on custom rules. The rule function receives path segments and headers, and returns the rewritten path segments and headers. $$\text{rewrite} : \text{RewriteRule} \to \text{Middleware}$$
Equations
- One or more equations did not get rendered due to their size.
Instances For
Simple path prefix rewrite: strip a prefix and optionally add a new one. $$\text{rewritePrefix} : \text{String} \to \text{String} \to \text{Middleware}$$
Equations
- One or more equations did not get rendered due to their size.