Expand description
Policy-managed body lifecycle primitives.
body does not replace http-body or http-body-util.
It defines protocol-independent policy and lifecycle vocabulary around
payload bodies.
Structs§
- Body
Guard - A body wrapped with explicit lifecycle policy.
- Body
Policy - Policy for how a body should be handled.
Enums§
- Body
Decision - A protocol-independent decision produced by body policy.
- Body
State - The lifecycle state of a body.
- Drain
Policy - Whether a body may be drained after a decision has already been made.
- Drop
Policy - Behavior when a body is dropped before completion.
- Overflow
Policy - Behavior when a body exceeds its configured size limit.
- Replay
Policy - Whether a body may be replayed after it has been read.
- Shutdown
Policy - Behavior around graceful shutdown or cancellation boundaries.