| 76 | } |
| 77 | |
| 78 | static bool containsMethod(Span<HttpParser::Method> methods, size_t count, HttpParser::Method method) |
| 79 | { |
| 80 | for (size_t idx = 0; idx < count; ++idx) |
| 81 | { |
| 82 | if (methods[idx] == method) |
| 83 | { |
| 84 | return true; |
| 85 | } |
| 86 | } |
| 87 | return false; |
| 88 | } |
| 89 | |
| 90 | static HttpRouteMatchStatus matchPath(StringSpan pattern, StringSpan requestPath, Span<HttpRouteParam> params, |
| 91 | size_t& numParams) |
nothing calls this directly
no outgoing calls
no test coverage detected