25#include "rest/constants.hpp"
26#include "rest/request.hpp"
57 static std::regex PATH_PATTERN;
60 std::regex _pathRegex;
140#include "rest/impl/endpoint.hpp"
EndPoint(EndPoint &&other)
std::string pathPattern
Definition endpoint.hpp:46
const std::regex & getPathRegex() const
std::string verb
Definition endpoint.hpp:43
std::string accept
Definition endpoint.hpp:52
EndPoint(const EndPoint &other)
std::string contentType
Definition endpoint.hpp:49
void setPathPattern(const std::string &pathPattern)
const std::string & getPathPattern() const
bool match(const anch::rest::Request &request) const
HTTP request.
Definition request.hpp:43