summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpsdhandler.h
diff options
context:
space:
mode:
authorRider Linden <none@none>2015-04-01 16:37:00 -0700
committerRider Linden <none@none>2015-04-01 16:37:00 -0700
commitedc1439bd633bdac183fbecc131edd55074b5442 (patch)
tree4655e22fd1777c5d5c44e585e755aad4676deb7b /indra/llmessage/llhttpsdhandler.h
parent0b02b36b651987d5d24c225fa9472e0d35803559 (diff)
Added AvatarNameCache as coroutine, with LLCore::HttpHandler to respond correctly to Event Pumps.
Added get/setRequestURL() to LLCore::HttpResponse Removed URI from the HttpSDHandler.
Diffstat (limited to 'indra/llmessage/llhttpsdhandler.h')
-rw-r--r--indra/llmessage/llhttpsdhandler.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/indra/llmessage/llhttpsdhandler.h b/indra/llmessage/llhttpsdhandler.h
index a2598c9709..7c28dbcab6 100644
--- a/indra/llmessage/llhttpsdhandler.h
+++ b/indra/llmessage/llhttpsdhandler.h
@@ -39,21 +39,14 @@
class LLHttpSDHandler : public LLCore::HttpHandler
{
public:
- LLHttpSDHandler(const LLURI &uri);
+ LLHttpSDHandler();
virtual void onCompleted(LLCore::HttpHandle handle, LLCore::HttpResponse * response);
- inline const LLURI &getUri() const
- {
- return mUri;
- }
-
protected:
virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content) = 0;
virtual void onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status) = 0;
-private:
- LLURI mUri;
};
/// A trivial implementation of LLHttpSDHandler. This success and failure
@@ -62,7 +55,7 @@ private:
class LLHttpSDGenericHandler : public LLHttpSDHandler
{
public:
- LLHttpSDGenericHandler(const LLURI &uri, const std::string &action);
+ LLHttpSDGenericHandler(const std::string &action);
protected:
virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content);