#timeout #tower #requests #duration #completion #fixed #tower-middleware

tower-timeout

Apply a timeout to requests, ensuring completion within a fixed time duration

6 releases

0.3.0 Dec 19, 2019
0.3.0-alpha.2 Sep 30, 2019
0.1.1 Jul 30, 2019
0.1.0 Apr 27, 2019
0.0.0 Nov 16, 2017

#2010 in Asynchronous

Download history 2912/week @ 2024-10-03 1980/week @ 2024-10-10 2028/week @ 2024-10-17 1706/week @ 2024-10-24 2019/week @ 2024-10-31 2286/week @ 2024-11-07 1834/week @ 2024-11-14 1611/week @ 2024-11-21 1857/week @ 2024-11-28 1960/week @ 2024-12-05 2376/week @ 2024-12-12 1233/week @ 2024-12-19 544/week @ 2024-12-26 1677/week @ 2025-01-02 2269/week @ 2025-01-09 1865/week @ 2025-01-16

6,418 downloads per month

MIT license

42KB
549 lines

Tower Timeout

Apply a timeout to requests, ensuring completion within a fixed time duration.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.


lib.rs:

Tower middleware that applies a timeout to requests.

If the response does not complete within the specified timeout, the response will be aborted.

Dependencies

~5MB
~89K SLoC