summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httphandler.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 08:16:58 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 08:16:58 +0300
commit38c2a5bde985a6a8a96d912d432f8bdf7e5b60be (patch)
treeb3469444ea8dabe4e76a8a265ac086a9db78891c /indra/llcorehttp/httphandler.h
parent9bf2dfbb39032d7407295089cf181de0987083e5 (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-merge
Diffstat (limited to 'indra/llcorehttp/httphandler.h')
-rw-r--r--indra/llcorehttp/httphandler.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/indra/llcorehttp/httphandler.h b/indra/llcorehttp/httphandler.h
index 4cfb2598c7..1bc1e9cfac 100644
--- a/indra/llcorehttp/httphandler.h
+++ b/indra/llcorehttp/httphandler.h
@@ -24,8 +24,8 @@
* $/LicenseInfo$
*/
-#ifndef _LLCORE_HTTP_HANDLER_H_
-#define _LLCORE_HTTP_HANDLER_H_
+#ifndef _LLCORE_HTTP_HANDLER_H_
+#define _LLCORE_HTTP_HANDLER_H_
#include "httpcommon.h"
@@ -55,38 +55,38 @@ class HttpResponse;
/// dangling pointer if lifetimes aren't managed correctly.
///
/// *TODO: public std::enable_shared_from_this<HttpHandler>
-class HttpHandler
+class HttpHandler
{
public:
typedef std::shared_ptr<HttpHandler> ptr_t;
typedef std::weak_ptr<HttpHandler> wptr_t;
- virtual ~HttpHandler()
- { }
+ virtual ~HttpHandler()
+ { }
- /// Method invoked during calls to @see update(). Each invocation
- /// represents the completion of some requested operation. Caller
- /// can identify the request from the handle and interrogate the
- /// response argument for success/failure, data and other information.
- ///
- /// @param handle Identifier of the request generating
- /// the notification.
- /// @param response Supplies detailed information about
- /// the request including status codes
- /// (both programming and HTTP), HTTP body
- /// data and encodings, headers, etc.
- /// The response object is refcounted and
- /// the called code may retain the object
- /// by invoking @see addRef() on it. The
- /// library itself drops all references to
- /// to object on return and never touches
- /// it again.
- ///
- virtual void onCompleted(HttpHandle handle, HttpResponse * response) = 0;
+ /// Method invoked during calls to @see update(). Each invocation
+ /// represents the completion of some requested operation. Caller
+ /// can identify the request from the handle and interrogate the
+ /// response argument for success/failure, data and other information.
+ ///
+ /// @param handle Identifier of the request generating
+ /// the notification.
+ /// @param response Supplies detailed information about
+ /// the request including status codes
+ /// (both programming and HTTP), HTTP body
+ /// data and encodings, headers, etc.
+ /// The response object is refcounted and
+ /// the called code may retain the object
+ /// by invoking @see addRef() on it. The
+ /// library itself drops all references to
+ /// to object on return and never touches
+ /// it again.
+ ///
+ virtual void onCompleted(HttpHandle handle, HttpResponse * response) = 0;
}; // end class HttpHandler
} // end namespace LLCore
-#endif // _LLCORE_HTTP_HANDLER_H_
+#endif // _LLCORE_HTTP_HANDLER_H_