diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-15 16:35:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 16:35:49 +0300 |
commit | e49dcb8d0c9f539997effb640e350d9d0689aae6 (patch) | |
tree | 1bf99eaccce6de17c62f13c6595f7f497548dc5c /indra/llmessage/llhttpsdhandler.h | |
parent | 531cd34f670170ade57f8813fe48012b61a1d3c2 (diff) | |
parent | 5f8a7374b9f18e0112d6749a9c845bd077a81acb (diff) |
Merge pull request #1476 from secondlife/marchcat/x-b-merge
Maint X -> Maint B merge
Diffstat (limited to 'indra/llmessage/llhttpsdhandler.h')
-rw-r--r-- | indra/llmessage/llhttpsdhandler.h | 20 |
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; }; |