comparison OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp @ 2800:dc7330089736

"OrthancPeers" configuration option now allows to specify HTTP headers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Aug 2018 13:11:48 +0200
parents 5eea2f11e8df
children 4e43e67f8ecf
comparison
equal deleted inserted replaced
2799:6e3a60b85da6 2800:dc7330089736
85 85
86 void StorePeerOperation::Serialize(Json::Value& result) const 86 void StorePeerOperation::Serialize(Json::Value& result) const
87 { 87 {
88 result = Json::objectValue; 88 result = Json::objectValue;
89 result["Type"] = "StorePeer"; 89 result["Type"] = "StorePeer";
90 peer_.Serialize(result["Peer"]); 90 peer_.Serialize(result["Peer"],
91 true /* force advanced format */,
92 true /* include passwords */);
91 } 93 }
92 94
93 95
94 StorePeerOperation::StorePeerOperation(const Json::Value& serialized) 96 StorePeerOperation::StorePeerOperation(const Json::Value& serialized)
95 { 97 {