feat: deprecate @angular/http in favor of @angular/common/http (#18906)

As of 5.0, @angular/http is deprecated. @angular/common/http will
be the official HTTP API in Angular going forward.

PR Close #18906
This commit is contained in:
Alex Rickabaugh
2017-08-28 10:29:35 -07:00
committed by Miško Hevery
parent 1ef558b57c
commit 72c7b6edea
34 changed files with 136 additions and 136 deletions

View File

@ -98,7 +98,7 @@ function mergeOptions(
* http.get('request-from-mock-backend.json').subscribe((res:Response) => doSomething(res));
* ```
*
* @experimental
* @deprecated use @angular/common/http instead
*/
@Injectable()
export class Http {
@ -186,7 +186,7 @@ export class Http {
/**
* @experimental
* @deprecated use @angular/common/http instead
*/
@Injectable()
export class Jsonp extends Http {