#include <lib/inc/drogon/LocalHostFilter.h> virtual void doFilter(const HttpRequestPtr &req, FilterCallback &&fcb, FilterChainCallback &&fccb) override
This virtual function should be overrided in subclasses.
req- is the request object processed by the filter
fcb- if this is called, the response object is send to the client by the callback, and doFilter methods of next filters and the handler registed on the path are not called anymore.
fccb- if this callback is called, the next filter's doFilter method or the handler registered on the path is called.