Functions§
- forward_
request - Transforms the already-parsed JSON request body (parsed once upstream, so the
compressor never re-parses) into the serialized — possibly compressed — body,
its original size, and its compressed size. A plain
fnfrom the static providers or a closure that captures request-derived context (e.g. Gemini’s path-encoded model) both satisfy this bound.