maph 1.0.0 High-Performance Memory-Mapped Key-Value Database with O(1) Lookups

Loading...
Searching...
No Matches
Public Member Functions | List of all members
httplib::detail::MatcherBase Class Referenceabstract

`#include <httplib.h>`

Inheritance diagram for httplib::detail::MatcherBase:
Collaboration diagram for httplib::detail::MatcherBase:

## 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 981 of file httplib.h.

## Constructor & Destructor Documentation

## ◆ MatcherBase()

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

Definition at line 983 of file httplib.h.

## ◆ ~MatcherBase()

virtual httplib::detail::MatcherBase::~MatcherBase | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ match()

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

Implemented in httplib::detail::PathParamsMatcher, and httplib::detail::RegexMatcher.

## ◆ pattern()

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

Definition at line 986 of file httplib.h.

Referenced by httplib::detail::PathParamsMatcher::PathParamsMatcher().

Here is the caller graph for this function:

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

- integrations/rest_api/httplib.h