Skip to content
Snippets Groups Projects

Add curl timeout parameter

Merged Tien-Thinh Nguyen requested to merge add_curl_timeout_parameter into develop
2 files
+ 20
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -141,6 +141,19 @@ bool fromStringValue(const std::string& inStr, double& value) {
return true;
}
bool fromStringValue(
const std::string& inStr, oai::model::common::PlmnId& value) {
nlohmann::json json_value = nlohmann::json::parse(inStr);
from_json(json_value, value);
return true;
}
bool fromStringValue(
const std::string& inStr, oai::model::common::Snssai& value) {
nlohmann::json json_value = nlohmann::json::parse(inStr);
from_json(json_value, value);
return true;
}
bool validate_regex(
const std::string& regex, const std::string& value, std::stringstream& msg,
const std::string& pathPrefix) {
Loading