#timeout #tower #requests #within #duration #fixed #completion

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

#1857 in Asynchronous

Download history 926/week @ 2024-01-01 1373/week @ 2024-01-08 892/week @ 2024-01-15 880/week @ 2024-01-22 793/week @ 2024-01-29 1047/week @ 2024-02-05 1109/week @ 2024-02-12 858/week @ 2024-02-19 1469/week @ 2024-02-26 1790/week @ 2024-03-04 1967/week @ 2024-03-11 2609/week @ 2024-03-18 2225/week @ 2024-03-25 2108/week @ 2024-04-01 2103/week @ 2024-04-08 2818/week @ 2024-04-15

9,406 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
~83K SLoC