summaryrefslogtreecommitdiff
path: root/include/tgbot/net/HttpClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tgbot/net/HttpClient.h')
-rw-r--r--include/tgbot/net/HttpClient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tgbot/net/HttpClient.h b/include/tgbot/net/HttpClient.h
index a35dd7d..024c8ad 100644
--- a/include/tgbot/net/HttpClient.h
+++ b/include/tgbot/net/HttpClient.h
@@ -26,6 +26,8 @@ public:
* If at least 1 arg is marked as file, the content type of a request will be multipart/form-data, otherwise it will be application/x-www-form-urlencoded.
*/
virtual std::string makeRequest(const Url& url, const std::vector<HttpReqArg>& args) const = 0;
+
+ std::int32_t _timeout = 25;
};
}