summaryrefslogtreecommitdiff
path: root/indra/llmessage/llhttpsdhandler.h
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-05-23 11:31:19 -0700
committerBrad Linden <brad@lindenlab.com>2024-05-23 11:31:19 -0700
commita1f49564d670a2c41bfa25c833bba2564b9b7f48 (patch)
tree1d205e51bc37621916a17d459ad83782fe41f975 /indra/llmessage/llhttpsdhandler.h
parent6af5db09faf5ea33a2d4c47b64e76f42edae178a (diff)
parent6377610f6587989c126b00f490dfc8d527a1c2ce (diff)
Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev
Diffstat (limited to 'indra/llmessage/llhttpsdhandler.h')
-rw-r--r--indra/llmessage/llhttpsdhandler.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/indra/llmessage/llhttpsdhandler.h b/indra/llmessage/llhttpsdhandler.h
index ce40bdfc08..6390073339 100644
--- a/indra/llmessage/llhttpsdhandler.h
+++ b/indra/llmessage/llhttpsdhandler.h
@@ -24,30 +24,30 @@
* $/LicenseInfo$
*/
-#ifndef _LLHTTPSDHANDLER_H_
-#define _LLHTTPSDHANDLER_H_
+#ifndef _LLHTTPSDHANDLER_H_
+#define _LLHTTPSDHANDLER_H_
#include "httpcommon.h"
#include "httphandler.h"
#include "lluri.h"
-/// Handler class LLCore's HTTP library. Splitting with separate success and
-/// failure routines and parsing the result body into LLSD on success. It
+/// Handler class LLCore's HTTP library. Splitting with separate success and
+/// failure routines and parsing the result body into LLSD on success. It
/// is intended to be subclassed for specific capability handling.
-///
-// *TODO: This class self deletes at the end of onCompleted method. This is
+///
+// *TODO: This class self deletes at the end of onCompleted method. This is
// less than ideal and should be revisited.
class LLHttpSDHandler : public LLCore::HttpHandler //,
// public std::enable_shared_from_this<LLHttpSDHandler>
{
public:
- virtual void onCompleted(LLCore::HttpHandle handle, LLCore::HttpResponse * response);
-
+ virtual void onCompleted(LLCore::HttpHandle handle, LLCore::HttpResponse * response);
+
protected:
LLHttpSDHandler();
- virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content) = 0;
- virtual void onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status) = 0;
+ virtual void onSuccess(LLCore::HttpResponse * response, const LLSD &content) = 0;
+ virtual void onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status) = 0;
};