Mercurial > hg > orthanc-transfers
comparison Framework/HttpQueries/DetectTransferPlugin.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 |
comparison
equal
deleted
inserted
replaced
43:c3fefbb11321 | 44:f4e828607f02 |
---|---|
59 virtual void ReadBody(std::string& body) const; | 59 virtual void ReadBody(std::string& body) const; |
60 | 60 |
61 virtual void HandleAnswer(const void* answer, | 61 virtual void HandleAnswer(const void* answer, |
62 size_t size); | 62 size_t size); |
63 | 63 |
64 virtual void GetHttpHeaders(std::map<std::string, std::string>& headers) const | |
65 {/* no headers for this general purpose request*/} | |
66 | |
64 static void Apply(Result& result, | 67 static void Apply(Result& result, |
65 size_t threadsCount, | 68 size_t threadsCount, |
66 unsigned int timeout); | 69 unsigned int timeout); |
67 }; | 70 }; |
68 } | 71 } |