Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cHttpScriptedController Class Reference

#include <cHttpScriptedController.h>

Inherits GrayLib::cHttpControllerFileDir.

Inherited by GrayX::cCmdHttpController.

Public Member Functions

 cHttpScriptedController (cStringA sURLPrefix, cStringF sLocalDir, IScriptableObj *pRoot)
 
virtual ~cHttpScriptedController ()
 
virtual HTTPRET_TYPE OnVerb (cHttpProtocolStreamBase *pClient, const cHttpHeaderClient &request, cStringA sURLReq) override
 
 UNITTEST_FRIEND (cHttpScriptedController)
 

Public Attributes

IScriptableObjm_pRoot
 'Root' object to parse <?Root.STUFF?> in ".cshtml" files. More...
 

Constructor & Destructor Documentation

◆ cHttpScriptedController()

GrayLib::cHttpScriptedController::cHttpScriptedController ( cStringA  sURLPrefix,
cStringF  sLocalDir,
IScriptableObj pRoot 
)
inline

◆ ~cHttpScriptedController()

virtual GrayLib::cHttpScriptedController::~cHttpScriptedController ( )
inlinevirtual

Member Function Documentation

◆ OnVerb()

HTTPRET_TYPE GrayLib::cHttpScriptedController::OnVerb ( cHttpProtocolStreamBase pClient,
const cHttpHeaderClient request,
cStringA  sURLReq 
)
overridevirtual

Find and render the scripted page.

Reimplemented from GrayLib::cHttpController.

◆ UNITTEST_FRIEND()

GrayLib::cHttpScriptedController::UNITTEST_FRIEND ( cHttpScriptedController  )

Member Data Documentation

◆ m_pRoot

IScriptableObj* GrayLib::cHttpScriptedController::m_pRoot

'Root' object to parse <?Root.STUFF?> in ".cshtml" files.


The documentation for this class was generated from the following files: