C++ Web Framework  3.0
Public Member Functions | List of all members
CppWebController Class Reference

This class is responsible for displaying the standard pages of C++ Web Framework: index, examples, documentation, ssl and authors. More...

#include <cppwebcontroller.h>

Inheritance diagram for CppWebController:
Inheritance graph
[legend]

Public Member Functions

void doGet (Request &request, Response &response) const override
 Method overload to answer the requests the system default pages. More...
 
- Public Member Functions inherited from Controller
virtual ~Controller ()
 Destructor.
 
virtual void doDelete (Request &req, Response &resp) const
 This is an virtual method that can be overloaded to attend the delete request method. More...
 
virtual void doOptions (Request &req, Response &resp) const
 This is an virtual method that can be overloaded to attend the options request method. More...
 
virtual void doPost (Request &req, Response &resp) const
 This is an virtual method that can be overloaded to attend the post request method. More...
 
virtual void doPut (Request &req, Response &resp) const
 This is an virtual method that can be overloaded to attend the put request method. More...
 
virtual void doTrace (Request &req, Response &resp) const
 This is an virtual method that can be overloaded to attend the trace request method. More...
 

Detailed Description

This class is responsible for displaying the standard pages of C++ Web Framework: index, examples, documentation, ssl and authors.

Member Function Documentation

◆ doGet()

CWF_BEGIN_NAMESPACE void CppWebController::doGet ( Request request,
Response response 
) const
overridevirtual

Method overload to answer the requests the system default pages.

Parameters
Request&request : Parameter generated by HttpReadRequest.
Response&response : Parameter generated by HttpReadRequest.

Reimplemented from Controller.


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