{
  "id": "api/common/http/testing/RequestMatch",
  "title": "RequestMatch",
  "contents": "\n\n<article>\n  <div class=\"breadcrumb-container\">\n    <div class=\"breadcrumb\">\n      <script type=\"application/ld+json\">\n        {\n          \"@context\": \"http://schema.org\",\n          \"@type\": \"BreadcrumbList\",\n          \"itemListElement\": [\n            { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n            { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/common\", \"name\": \"@angular/common\" } },\n            { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/common/http/testing\", \"name\": \"@angular/common/http/testing\" } },\n            { \"@type\": \"ListItem\", \"position\": 4, \"item\": { \"@id\": \"https://angular.io/api/common/http/testing/RequestMatch\", \"name\": \"RequestMatch\" } }\n          ]\n        }\n      </script>\n        <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a> > <a href=\"api/common/http/testing\">@angular/common/http/testing</a>\n    </div>\n    <div class=\"github-links\">\n  <a href=\"https://github.com/angular/angular/edit/master/packages/common/http/testing/src/api.ts?message=docs(common)%3A%20describe%20your%20change...#L12-L21\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n  <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/http/testing/src/api.ts#L12-L21\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n  </div>\n  \n  <header class=\"api-header\">\n    <h1 id=\"requestmatch\">RequestMatch<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/testing/RequestMatch#requestmatch\"><i class=\"material-icons\">link</i></a></h1>\n    \n    <label class=\"api-type-label interface\">interface</label>\n    \n    \n    \n  </header>\n  \n  <aio-toc class=\"embedded\"></aio-toc>\n\n  <div class=\"api-body\">\n    \n  <section class=\"short-description\">\n    <p>Defines a matcher for requests based on URL, method, or both.</p>\n\n    \n  </section>\n  \n  \n  <section class=\"interface-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\ninterface <a href=\"api/common/http/testing/RequestMatch\" class=\"code-anchor\">RequestMatch</a> {\n  <a class=\"code-anchor\" href=\"api/common/http/testing/RequestMatch#method\"><span class=\"member-name\">method</span>?: string</a>\n  <a class=\"code-anchor\" href=\"api/common/http/testing/RequestMatch#url\"><span class=\"member-name\">url</span>?: string</a>\n}\n</code-example>\n\n  \n  \n\n\n  \n  \n\n</section>\n\n  \n\n  \n  \n  \n<section class=\"instance-properties\">\n  <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/testing/RequestMatch#properties\"><i class=\"material-icons\">link</i></a></h2>\n  <table class=\"is-full-width list-table property-table\">\n    <thead>\n      <tr>\n        <th>Property</th>\n        <th>Description</th>\n      </tr>\n    </thead>\n    <tbody>\n    \n      <tr class=\"instance-property\">\n        <td>\n          <a id=\"method\"></a>\n          <code class=\"\"><span class=\"member-name\">method</span>?: string</code>\n        </td>\n        <td>\n          \n          \n          \n          </td>\n    </tr>\n    \n      <tr class=\"instance-property\">\n        <td>\n          <a id=\"url\"></a>\n          <code class=\"\"><span class=\"member-name\">url</span>?: string</code>\n        </td>\n        <td>\n          \n          \n          \n          </td>\n    </tr>\n    \n    </tbody>\n  </table>\n</section>\n  \n\n\n  \n\n\n  </div>\n</article>\n\n<!-- links to this doc:\n - api/common/http/testing\n - api/common/http/testing/HttpTestingController\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/http/testing\n - api/common/http/testing/RequestMatch#method\n - api/common/http/testing/RequestMatch#properties\n - api/common/http/testing/RequestMatch#requestmatch\n - api/common/http/testing/RequestMatch#url\n - https://github.com/angular/angular/edit/master/packages/common/http/testing/src/api.ts?message=docs(common)%3A%20describe%20your%20change...#L12-L21\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/http/testing/src/api.ts#L12-L21\n-->"
}