MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / MatcherBase

Class MatcherBase

examples/server/httplib.h:674–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672namespace detail {
673
674class MatcherBase {
675public:
676 virtual ~MatcherBase() = default;
677
678 // Match request path and populate its matches and
679 virtual bool match(Request &request) const = 0;
680};
681
682/**
683 * Captures parameters in request path and stores them in Request::path_params

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected