Add curl timeout parameter
Compare changes
Files
14+ 15
− 0
@@ -42,6 +42,7 @@ config::config(
@@ -67,6 +68,8 @@ void config::read_from_file(const std::string& file_path) {
@@ -145,6 +148,7 @@ void config::to_json(nlohmann::json& json_data) {
@@ -167,6 +171,10 @@ bool config::from_json(const nlohmann::json& json_data) {
@@ -187,6 +195,7 @@ bool config::validate() {
@@ -229,6 +238,8 @@ std::string config::to_string() const {
@@ -334,6 +345,10 @@ int config::get_http_version() const {