mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
HttpClient is an evolution of the existing Angular HTTP API, which exists alongside of it in a separate package, @angular/common/http. This structure ensures that existing codebases can slowly migrate to the new API. The new API improves significantly on the ergonomics and features of the legacy API. A partial list of new features includes: * Typed, synchronous response body access, including support for JSON body types * JSON is an assumed default and no longer needs to be explicitly parsed * Interceptors allow middleware logic to be inserted into the pipeline * Immutable request/response objects * Progress events for both request upload and response download * Post-request verification & flush based testing framework
7 lines
241 B
JSON
7 lines
241 B
JSON
{
|
|
"name": "@angular/common/http/testing",
|
|
"typings": "../testing.d.ts",
|
|
"main": "../../bundles/common-http-testing.umd.js",
|
|
"module": "../../@angular/common/http/testing.es5.js",
|
|
"es2015": "../../@angular/common/http/testing.js"
|
|
}
|