#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

#1944 in Asynchronous

Download history 1961/week @ 2024-07-21 1434/week @ 2024-07-28 1769/week @ 2024-08-04 2440/week @ 2024-08-11 2048/week @ 2024-08-18 1956/week @ 2024-08-25 1621/week @ 2024-09-01 1615/week @ 2024-09-08 1458/week @ 2024-09-15 1608/week @ 2024-09-22 2408/week @ 2024-09-29 2537/week @ 2024-10-06 2126/week @ 2024-10-13 1816/week @ 2024-10-20 1771/week @ 2024-10-27 2082/week @ 2024-11-03

7,871 downloads per month

MIT license

43KB
564 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
~88K SLoC