Set the request timeout.
(mut self, timeout: Duration)
| 107 | |
| 108 | /// Set the request timeout. |
| 109 | pub fn with_timeout(mut self, timeout: Duration) -> Self { |
| 110 | self.timeout = timeout; |
| 111 | self |
| 112 | } |
| 113 | |
| 114 | /// Set the connection timeout. |
| 115 | pub fn with_connect_timeout(mut self, connect_timeout: Duration) -> Self { |
no outgoing calls