Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions include/hssconnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
* as those licenses appear in the file LICENSE-OPENSSL.
*/

///
///

#ifndef HSSCONNECTION_H__
#define HSSCONNECTION_H__

Expand Down Expand Up @@ -121,9 +118,10 @@ class HSSConnection
static const std::string STATE_NOT_REGISTERED;

private:
virtual long get_json_object(const std::string& path, Json::Value*& object, SAS::TrailId trail);
virtual long get_xml_object(const std::string& path, rapidxml::xml_document<>*& root, SAS::TrailId trail);
virtual long put_for_xml_object(const std::string& path, std::string body, rapidxml::xml_document<>*& root, SAS::TrailId trail);
rapidxml::xml_document<>* parse_xml(const std::string& raw_data, std::string& error);
Json::Value* parse_json(const std::string& raw_data, std::string& error);
virtual long get_object(const std::string& path, std::string& rsp_body, SAS::TrailId trail);
virtual long put_object(const std::string& path, const std::string& req_body, std::string& rsp_body, SAS::TrailId trail);

HttpConnection* _http;
StatisticAccumulator _latency_stat;
Expand Down
Loading