#include <http_etag.h>
|
| Matcher (const std::string &match_header) |
|
bool | matches (const std::string &etag) const |
| Check if a given ETag matches the If-Match/If-None-Match header.
|
|
bool | is_any () const |
| Check if the header will match any ETag (*)
|
|
Utility class to resolve If-Match and If-None-Match as described in https://www.rfc-editor.org/rfc/rfc9110#field.if-match
◆ Matcher()
ccf::http::Matcher::Matcher |
( |
const std::string & |
match_header | ) |
|
|
inline |
Construct a Matcher from a match header
Note: Weak tags are not supported.
◆ is_any()
bool ccf::http::Matcher::is_any |
( |
| ) |
const |
|
inline |
Check if the header will match any ETag (*)
◆ matches()
bool ccf::http::Matcher::matches |
( |
const std::string & |
etag | ) |
const |
|
inline |
Check if a given ETag matches the If-Match/If-None-Match header.
The documentation for this class was generated from the following file: