5 lines
31 KiB
JSON
5 lines
31 KiB
JSON
|
{
|
||
|
"id": "api/common/http/HttpResponseBase",
|
||
|
"title": "HttpResponseBase",
|
||
|
"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/HttpResponseBase\", \"name\": \"HttpResponseBase\" } }\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/src/response.ts?message=docs(common)%3A%20describe%20your%20change...#L141-L205\" 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/src/response.ts#L141-L205\" 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=\"httpresponsebase\">HttpResponseBase<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/HttpResponseBase#httpresponsebase\"><i class=\"material-icons\">link</i></a></h1>\n \n <label class=\"api-type-label class\">class</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>Base class for both <code><a href=\"api/common/http/HttpResponse\" class=\"code-anchor\">HttpResponse</a></code> and <code><a href=\"api/common/http/HttpHeaderResponse\" class=\"code-anchor\">HttpHeaderResponse</a></code>.</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\">\nabstract class <a href=\"api/common/http/HttpResponseBase\" class=\"code-anchor\">HttpResponseBase</a> {\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#constructor()\"><span class=\"member-name\">constructor</span>(init: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }, defaultStatus: number = HttpStatusCode.Ok, defaultStatusText: string = 'OK')</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#headers\"><span class=\"member-name\">headers</span>: HttpHeaders</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#status\"><span class=\"member-name\">status</span>: number</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#statusText\"><span class=\"member-name\">statusText</span>: string</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#url\"><span class=\"member-name\">url</span>: string | null</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#ok\"><span class=\"member-name\">ok</span>: boolean</a>\n <a class=\"code-anchor\" href=\"api/common/http/HttpResponseBase#type\"><span class=\"member-name\">type</span>: HttpEventType.Response | HttpEventType.ResponseHeader</a>\n}\n</code-example>\n\n \n \n <div class=\"descendants class\">\n <h2 id=\"subclasses\">Subclasses<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/common/http/HttpResponseBase#subclasses\"><i class=\"material-icons\">link</i></a></h2>\n \n\n<ul>\n \n <li>\n <code><a href=\"api/common/http/Ht
|
||
|
}
|