Module tower_http::timeout
source · Available on crate feature
timeout only.Expand description
Middleware for setting timeouts on requests and responses.
Structs
- Applies a
TimeoutBodyto the request body. - Applies a
TimeoutBodyto the request body. - Applies a
TimeoutBodyto the response body. - Applies a
TimeoutBodyto the response body. - Middleware which apply a timeout to requests.
- Wrapper around a
http_body::Bodyto time out if data is not ready within the specified duration. - Error for
TimeoutBody. - Layer that applies the
Timeoutmiddleware which apply a timeout to requests.