tide-delay 0.0.1

Middleware for the Tide web framework that delays responses
Documentation

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)) });