{
  "id": "api/common/http/XhrFactory",
  "title": "XhrFactory",
  "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\", \"name\": \"@angular/common/http\" } },\n            { \"@type\": \"ListItem\", \"position\": 4, \"item\": { \"@id\": \"https://angular.io/api/common/http/XhrFactory\", \"name\": \"XhrFactory\" } }\n          ]\n        }\n      </script>\n        <a href=\"/api\">API</a> > <a href=\"api/common\">@angular/common</a> > <a href=\"api/common/http\">@angular/common/http</a>\n    </div>\n    <div class=\"github-links\">\n  <a href=\"https://github.com/angular/angular/edit/master/packages/common/http/public_api.ts?message=docs(common)%3A%20describe%20your%20change...#L10-L19\" 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/public_api.ts#L10-L19\" 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=\"xhrfactory\">XhrFactory<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/XhrFactory#xhrfactory\"><i class=\"material-icons\">link</i></a></h1>\n    \n    <label class=\"api-type-label type-alias\">type-alias</label>\n    <label class=\"api-status-label deprecated\">deprecated</label>\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>A wrapper around the <code>XMLHttpRequest</code> constructor.</p>\n\n    \n  </section>\n  \n  \n<section class=\"deprecated\">\n  <p><strong>Deprecated:</strong> <code><a href=\"api/common/XhrFactory\" class=\"code-anchor\">XhrFactory</a></code> has moved, please import <code><a href=\"api/common/XhrFactory\" class=\"code-anchor\">XhrFactory</a></code> from <code>@angular/common</code> instead.</p>\n\n</section>\n\n  \n  <section class=\"type-alias-overview\">\n    <code-example language=\"ts\" hidecopy=\"true\">\n    type <a href=\"api/common/XhrFactory\" class=\"code-anchor\">XhrFactory</a> = XhrFactory_fromAngularCommon;\n    </code-example>\n  </section>\n\n  \n<section class=\"see-also\">\n  <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/XhrFactory#see-also\"><i class=\"material-icons\">link</i></a></h2>\n  <ul>\n  \n    <li><p><code><a href=\"api/common/XhrFactory\" class=\"code-anchor\">XhrFactory</a></code></p>\n</li>\n  </ul>\n</section>\n\n\n  \n  \n\n  \n\n\n  </div>\n</article>\n\n<!-- links to this doc:\n - api/common/http\n - guide/deprecations\n-->\n<!-- links from this doc:\n - /api\n - api/common\n - api/common/XhrFactory\n - api/common/http\n - api/common/http/XhrFactory#see-also\n - api/common/http/XhrFactory#xhrfactory\n - https://github.com/angular/angular/edit/master/packages/common/http/public_api.ts?message=docs(common)%3A%20describe%20your%20change...#L10-L19\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/common/http/public_api.ts#L10-L19\n-->"
}