Function registerPostHandlingAdvice

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & registerPostHandlingAdvice(const std::function< void(const HttpRequestPtr &, const HttpResponsePtr &)> &advice)=0

Description

Register an advice called after the request is handled.

Parameters:

advice - is called immediately after the request is handled and a response object is created by handlers.

Mentioned in

Source

Line 331 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge