summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httprequest.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-08-12 16:32:49 -0700
committerRider Linden <rider@lindenlab.com>2015-08-12 16:32:49 -0700
commit248d61fe0eadd128c7704e37922ba7fdef35d630 (patch)
tree47597f9a1d4a1a3dc774c9f10f3d6d74338c5322 /indra/llcorehttp/httprequest.h
parent14a8c70867252926fdfc42728c1de38c8ef68706 (diff)
MAINT-5500: Finish converting the AIS responders to the new coroutine model, Cleaned up dead an unused code.
MAINT-4952: Added COPY and MOVE methods to Core:Http adapter
Diffstat (limited to 'indra/llcorehttp/httprequest.h')
-rwxr-xr-xindra/llcorehttp/httprequest.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h
index 20a223c482..6c2449266f 100755
--- a/indra/llcorehttp/httprequest.h
+++ b/indra/llcorehttp/httprequest.h
@@ -478,7 +478,7 @@ public:
HttpHandler * handler);
- /// Queue a full HTTP PUT. Query arguments and body may
+ /// Queue a full HTTP DELETE. Query arguments and body may
/// be provided. Caller is responsible for escaping and
/// encoding and communicating the content types.
///
@@ -497,7 +497,7 @@ public:
const HttpHeaders::ptr_t & headers,
HttpHandler * user_handler);
- /// Queue a full HTTP PUT. Query arguments and body may
+ /// Queue a full HTTP PATCH. Query arguments and body may
/// be provided. Caller is responsible for escaping and
/// encoding and communicating the content types.
///
@@ -520,7 +520,7 @@ public:
const HttpHeaders::ptr_t & headers,
HttpHandler * user_handler);
- /// Queue a full HTTP PUT. Query arguments and body may
+ /// Queue a full HTTP COPY. Query arguments and body may
/// be provided. Caller is responsible for escaping and
/// encoding and communicating the content types.
///
@@ -538,7 +538,26 @@ public:
const HttpOptions::ptr_t & options,
const HttpHeaders::ptr_t & headers,
HttpHandler * user_handler);
-
+
+ /// Queue a full HTTP MOVE. Query arguments and body may
+ /// be provided. Caller is responsible for escaping and
+ /// encoding and communicating the content types.
+ ///
+ /// @param policy_id @see requestGet()
+ /// @param priority "
+ /// @param url "
+ /// @param options @see requestGet()K(optional)
+ /// @param headers "
+ /// @param handler "
+ /// @return "
+ ///
+ HttpHandle requestMove(policy_t policy_id,
+ priority_t priority,
+ const std::string & url,
+ const HttpOptions::ptr_t & options,
+ const HttpHeaders::ptr_t & headers,
+ HttpHandler * user_handler);
+
/// Queue a NoOp request.
/// The request is queued and serviced by the working thread which
/// immediately processes it and returns the request to the reply