| 147 | // Make sure we only allow the cripts::Method::* constants |
| 148 | |
| 149 | [[nodiscard]] bool |
| 150 | Contains(cripts::Header::Method method) const |
| 151 | { |
| 152 | auto data = method.Data(); |
| 153 | |
| 154 | return end() != std::find_if(begin(), end(), [&](const cripts::Header::Method &header) { return header.Data() == data; }); |
| 155 | } |
| 156 | |
| 157 | [[nodiscard]] bool |
| 158 | Match(cripts::Header::Method method) const |