mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-20 03:14:21 +01:00
Fix deprecated notice about client_shutdown (#2621)
This commit is contained in:
parent
a68239adaa
commit
e9279dfbb8
@ -226,7 +226,7 @@ where
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[deprecated(since = "4.0.0", note = "Renamed to `client_request_timeout`.")]
|
#[deprecated(since = "4.0.0", note = "Renamed to `client_disconnect_timeout`.")]
|
||||||
pub fn client_shutdown(self, dur: u64) -> Self {
|
pub fn client_shutdown(self, dur: u64) -> Self {
|
||||||
self.client_disconnect_timeout(Duration::from_millis(dur))
|
self.client_disconnect_timeout(Duration::from_millis(dur))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user