Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
helloworldrequesthandler.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
14
#include "
http/httprequesthandler.h
"
15
16
//------------------------------------------------------------------------------
17
namespace
Debug
18
{
19
class
HelloWorldRequestHandler
:
public
Http::HttpRequestHandler
20
{
21
__DeclareClass
(
HelloWorldRequestHandler
);
22
public
:
24
HelloWorldRequestHandler
();
26
virtual
void
HandleRequest
(
const
Ptr<Http::HttpRequest>
& request);
27
};
28
29
}
// namespace Debug
30
//------------------------------------------------------------------------------
Debug::HelloWorldRequestHandler::__DeclareClass
__DeclareClass(HelloWorldRequestHandler)
Debug::HelloWorldRequestHandler::HelloWorldRequestHandler
HelloWorldRequestHandler()
constructor
Definition
helloworldrequesthandler.cc:19
Debug::HelloWorldRequestHandler::HandleRequest
virtual void HandleRequest(const Ptr< Http::HttpRequest > &request)
handle a http request
Definition
helloworldrequesthandler.cc:32
Http::HttpRequestHandler
HttpRequestHandlers are attached to the HttpServer and process incoming HTTP requests.
Definition
httprequesthandler.h:31
Ptr
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition
ptr.h:38
httprequesthandler.h
Debug
Definition
corepagehandler.cc:13
code
foundation
http
debug
helloworldrequesthandler.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.