Expand description
Scoped, programmable HTTP and WebSocket interception. No sockets, UI or native stack needed.
Structs§
- Conditions
- Application-visible link conditions, not packet-level emulation. Changes affect active transfers at their next delivery boundary. Pausing does not pause request timeout clocks.
- Manual
Clock - Advances scheduled network events synchronously. Jobs at equal times run in insertion order.
- Real
Clock - Reply
- A response generated by a handler. Body chunks are delivered only when the reader asks.
- Request
Record - Captured request facts. Bodies are available to handlers through
PreparedBody; they are not retained in history. Do not put credentials in URLs. History is bounded to 256 entries. - Simulation
Traits§
- Clock
- A scheduler usable from any executor. A manual clock makes fault tests independent of sleep.