diff Framework/HttpQueries/IHttpQuery.h @ 44:f4e828607f02

Added 'SenderTransferID' option that is added as an HTTP header in outgoing requests in PushMode
author Alain Mazy <am@osimis.io>
date Wed, 19 Oct 2022 21:12:57 +0200
parents 44a0430d7899
children 1e396fb509ca
line wrap: on
line diff
--- a/Framework/HttpQueries/IHttpQuery.h	Tue Jul 12 17:49:40 2022 +0200
+++ b/Framework/HttpQueries/IHttpQuery.h	Wed Oct 19 21:12:57 2022 +0200
@@ -20,6 +20,7 @@
 #pragma once
 
 #include <Enumerations.h>
+#include <map>
 
 #include <boost/noncopyable.hpp>
 
@@ -43,5 +44,7 @@
 
     virtual void HandleAnswer(const void* answer,
                               size_t size) = 0;
+
+    virtual void GetHttpHeaders(std::map<std::string, std::string>& headers) const = 0;
   };
 }