13 #include "constants.h" 15 #include "cppwebframework_global.h" 82 #endif // CONTROLLER_H virtual ~Controller()
Destructor.
Definition: controller.h:41
virtual void doGet(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the get request method.
Definition: controller.h:53
virtual void doDelete(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the delete request method.
Definition: controller.h:47
The Request class holds all information about a http request.
Definition: request.h:27
virtual void doOptions(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the options request method.
Definition: controller.h:59
The Controller class is responsable to attend a request from a specific url. You will need to create ...
Definition: controller.h:28
virtual void doPut(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the put request method.
Definition: controller.h:71
virtual void doTrace(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the trace request method.
Definition: controller.h:77
The Response class is responsable to response a Http request.
Definition: response.h:25
virtual void doPost(Request &req, Response &resp) const
This is an virtual method that can be overloaded to attend the post request method.
Definition: controller.h:65