From 1b68f71348ecf3983b76b40d7940da8377f049b7 Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Mon, 29 Apr 2024 07:43:28 +0300 Subject: #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed --- indra/llmessage/llhttpsdhandler.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'indra/llmessage/llhttpsdhandler.h') 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 { 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; }; -- cgit v1.2.3