summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_rest_conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_rest_conn.h')
-rw-r--r--src/rgw/rgw_rest_conn.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest_conn.h b/src/rgw/rgw_rest_conn.h
index e0e1b12abe5..0dfd0c7415c 100644
--- a/src/rgw/rgw_rest_conn.h
+++ b/src/rgw/rgw_rest_conn.h
@@ -200,6 +200,16 @@ public:
RGWHTTPManager *mgr,
optional_yield y);
+ int send_resource(const DoutPrefixProvider *dpp,
+ const string& method,
+ const string& resource,
+ rgw_http_param_pair *extra_params,
+ map<string, string>* extra_headers,
+ bufferlist& bl,
+ bufferlist *send_data,
+ RGWHTTPManager *mgr,
+ optional_yield y);
+
template <class T>
int get_json_resource(const DoutPrefixProvider *dpp, const std::string& resource, param_vec_t *params,
bufferlist *in_data, optional_yield y, T& t);