chokepoint 0.2.0

Generic stream transformer to simulate traffic / network congestion
Documentation

chokepoint

Crates.io License

A generic futures::Stream and futures::Sink transformer that can be used to "shape traffic", e.g. to simulate network conditions.

Supports various simulated network conditions, such as:

  • Delay (using a user provided function)
  • Packet loss
  • Packet reordering
  • Packet corruption
  • Packet duplication
  • Bandwidth limiting

See [TrafficShaper] for more information.

License: MPL-2.0