Set timeout on recieving subsequent chunks of bytes in the Response body stream
(&mut self, d: impl Into<Duration>)
| 64 | |
| 65 | /// Set timeout on recieving subsequent chunks of bytes in the Response body stream |
| 66 | pub fn set_between_bytes_timeout(&mut self, d: impl Into<Duration>) { |
| 67 | self.options_mut().between_bytes_timeout = Some(d.into()); |
| 68 | } |
| 69 | |
| 70 | fn options_mut(&mut self) -> &mut RequestOptions { |
| 71 | match &mut self.options { |
no test coverage detected