Set timeout on recieving first byte of the Response body
(&mut self, d: impl Into<Duration>)
| 59 | |
| 60 | /// Set timeout on recieving first byte of the Response body |
| 61 | pub fn set_first_byte_timeout(&mut self, d: impl Into<Duration>) { |
| 62 | self.options_mut().first_byte_timeout = Some(d.into()); |
| 63 | } |
| 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>) { |
no test coverage detected