Class IntranetIpFilter

Synopsis

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

class IntranetIpFilter : public HttpFilter<IntranetIpFilter>

Description

A filter that prohibit access from external networks.

Mentioned in

Inheritance

Ancestors: HttpFilter

Methods

IntranetIpFilter
doFilterThis virtual function should be overrided in subclasses.

Source

Lines 24-33 in lib/inc/drogon/IntranetIpFilter.h.

class IntranetIpFilter : public HttpFilter<IntranetIpFilter>
{
  public:
    IntranetIpFilter()
    {
    }
    virtual void doFilter(const HttpRequestPtr &req,
                          FilterCallback &&fcb,
                          FilterChainCallback &&fccb) override;
};





Add Discussion as Guest

Log in to DocsForge