changeset 3424:07c3b6044e9d

OrthancPlugins::HttpClient::SetHeaders()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Jun 2019 10:11:52 +0200
parents f5fe6d08f910
children 2f6dcb9c8cc1
files Plugins/Samples/Common/OrthancPluginCppWrapper.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu Jun 13 16:37:20 2019 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Fri Jun 14 10:11:52 2019 +0200
@@ -878,6 +878,11 @@
       url_ = url;
     }
 
+    void SetHeaders(const HttpHeaders& headers)
+    {
+      headers_ = headers;
+    }
+
     void AddHeader(const std::string& key,
                    const std::string& value)
     {