#tower #timeout #requests #within #time-duration #response #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

#1728 in Asynchronous

Download history 1182/week @ 2023-11-20 808/week @ 2023-11-27 858/week @ 2023-12-04 1003/week @ 2023-12-11 851/week @ 2023-12-18 650/week @ 2023-12-25 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 1804/week @ 2024-03-04

5,321 downloads per month

MIT license

43KB
567 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
~82K SLoC