36#include "webdar_tools.hpp"
37#include "exceptions.hpp"
class answer provides easy means to set an HTTP answer and means to sent it back to a proto_connexion...
Definition: answer.hpp:49
class chemin definition
Definition: chemin.hpp:51
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45
pure virtual class, base class for all classes that can generate an answer to a request
Definition: responder.hpp:46
const chemin & get_prefix() const
get the recorded URI path prefix for body_builder root hierarchy
Definition: responder.hpp:58
virtual void prefix_has_changed()
hook for inherited class, when the body builder object had its prefix changed
Definition: responder.hpp:65
void set_prefix(const chemin &chem)
used for body_builder object for they have a proper prefix in path
Definition: responder.hpp:56
virtual answer give_answer(const request &req)=0
provides a standard mean for inherited class to provide answer to requests