(&mut self, timeout: u64)
| 1582 | } |
| 1583 | |
| 1584 | fn set_timeout(&mut self, timeout: u64) -> Result<(), Error> { |
| 1585 | if timeout != REQUEST_TIMEOUT_SEC { |
| 1586 | self.get_config_mut().timeout = timeout; |
| 1587 | self.get_logger() |
| 1588 | .debug(format!("Using timeout of {} seconds", timeout)); |
| 1589 | self.reset_http_client(); |
| 1590 | } |
| 1591 | Ok(()) |
| 1592 | } |
| 1593 | |
| 1594 | fn is_insecure(&self) -> bool { |
| 1595 | self.get_config().insecure |
no test coverage detected