Skip to main content

Module transform

Module transform 

Source

Re-exports§

pub use crate::pipe::capabilities::ApplyOps;

Structs§

Transform
Request/response transformation middleware. Generic over the inner pipe AND the op types; the std default type parameters (the HTTP RequestOp / ResponseOp, which carry regex::Regex) keep all existing call sites unchanged. Under no_std+alloc the HTTP op types are absent, so the defaults fall back to (); callers name their own op types explicitly.
TransformConfig
Typed config surface for the transform middleware — ordered request- and response-side op pipelines.
TransformFactory

Enums§

RequestOp
RequestOpConfig
Serialisable request op — the config mirror of RequestOp. Tagged by op; RewritePath carries the pattern as a string (compiled to a Regex at TransformConfig::into_transform time), and Mutate flattens the existing serde MutateOp. The body/callback ops are accepted by the wire form but rejected at lowering, preserving the historical errors.
ResponseOp
ResponseOpConfig
Serialisable response op — the config mirror of ResponseOp.