diff OrthancFramework/Sources/SerializationToolbox.h @ 4451:f4dbdb2dcba6

new configuration option "MaximumPduLength" to tune the maximum PDU length
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 18 Jan 2021 14:51:52 +0100
parents d9473bd5ed43
children add0337b928a
line wrap: on
line diff
--- a/OrthancFramework/Sources/SerializationToolbox.h	Thu Jan 14 09:13:29 2021 +0100
+++ b/OrthancFramework/Sources/SerializationToolbox.h	Mon Jan 18 14:51:52 2021 +0100
@@ -47,6 +47,10 @@
     static unsigned int ReadUnsignedInteger(const Json::Value& value,
                                             const std::string& field);
 
+    static unsigned int ReadUnsignedInteger(const Json::Value& value,
+                                            const std::string& field,
+                                            unsigned int defaultValue);
+
     static bool ReadBoolean(const Json::Value& value,
                             const std::string& field);