diff Framework/Oracle/OrthancRestApiCommand.h @ 979:18d53a8b41b7

HttpCommand
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Sep 2019 17:52:28 +0200
parents a68cd7ae8838
children 4383382db01d 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Oracle/OrthancRestApiCommand.h	Mon Sep 02 17:44:20 2019 +0200
+++ b/Framework/Oracle/OrthancRestApiCommand.h	Tue Sep 03 17:52:28 2019 +0200
@@ -100,6 +100,11 @@
       body_.swap(body);
     }
 
+    void SetHttpHeaders(const HttpHeaders& headers)
+    {
+      headers_ = headers;
+    }
+
     void SetHttpHeader(const std::string& key,
                        const std::string& value)
     {