# HG changeset patch # User Sebastien Jodogne # Date 1560499912 -7200 # Node ID 07c3b6044e9d42e44ada4075bc4bbf104be1a17d # Parent f5fe6d08f910ffc04468036c6e314fee21f922eb OrthancPlugins::HttpClient::SetHeaders() diff -r f5fe6d08f910 -r 07c3b6044e9d Plugins/Samples/Common/OrthancPluginCppWrapper.h --- 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) {