tide-delay 0.0.1

Middleware for the Tide web framework that delays responses
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 4.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.09 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m Average build duration of successful builds.
  • all releases: 1m Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • mneumann_ntecs/tide-delay
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mneumann

tide-delay

A middleware for the Tide web framework that delays responses.

Example

let mut app = tide::new();
app.with(tide_delay::DelayMiddleware::new(
    std::time::Duration::from_millis(250),
));
app.at("/")
    .get(|_| async { Ok(Response::new(StatusCode::Ok)) });