Match returns true if r matches m.
(r *http.Request)
| 1251 | |
| 1252 | // Match returns true if r matches m. |
| 1253 | func (m MatchProtocol) Match(r *http.Request) bool { |
| 1254 | match, _ := m.MatchWithError(r) |
| 1255 | return match |
| 1256 | } |
| 1257 | |
| 1258 | // MatchWithError returns true if r matches m. |
| 1259 | func (m MatchProtocol) MatchWithError(r *http.Request) (bool, error) { |
nothing calls this directly
no test coverage detected