Skip to main content

HTTP_TIMEOUT_SECS

Constant HTTP_TIMEOUT_SECS 

Source
pub const HTTP_TIMEOUT_SECS: u64 = 60;
Expand description

HTTP timeout for every Bot API request. Must exceed LONG_POLL_TIMEOUT_SECS so an idle long poll ends as an empty ok response from Telegram, not as a client-side timeout.