Instrument Neutral Distributed Interface INDI 2.2.5
Public Member Functions | List of all members
httplib::detail::MatcherBase Class Referenceabstract

#include <httplib.h>

Inheritance diagram for httplib::detail::MatcherBase:
httplib::detail::PathParamsMatcher httplib::detail::RegexMatcher

Public Member Functions

 MatcherBase (std::string pattern)
 
virtual ~MatcherBase ()=default
 
const std::string & pattern () const
 
virtual bool match (Request &request) const =0
 

Detailed Description

Definition at line 1089 of file httplib.h.

Constructor & Destructor Documentation

◆ MatcherBase()

httplib::detail::MatcherBase::MatcherBase ( std::string  pattern)
inline

Definition at line 1092 of file httplib.h.

◆ ~MatcherBase()

virtual httplib::detail::MatcherBase::~MatcherBase ( )
virtualdefault

Member Function Documentation

◆ match()

virtual bool httplib::detail::MatcherBase::match ( Request &  request) const
pure virtual

◆ pattern()

const std::string & httplib::detail::MatcherBase::pattern ( ) const
inline

Definition at line 1095 of file httplib.h.


The documentation for this class was generated from the following file: