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:

committed by
Miško Hevery

parent
1ef558b57c
commit
72c7b6edea
@ -37,7 +37,7 @@ import {URLSearchParams} from './url_search_params';
|
||||
* console.log('options.url:', options.url); // https://google.com
|
||||
* ```
|
||||
*
|
||||
* @experimental
|
||||
* @deprecated use @angular/common/http instead
|
||||
*/
|
||||
export class RequestOptions {
|
||||
/**
|
||||
@ -200,7 +200,7 @@ export class RequestOptions {
|
||||
* console.log('req.url:', req.url); // https://google.com
|
||||
* ```
|
||||
*
|
||||
* @experimental
|
||||
* @deprecated use @angular/common/http instead
|
||||
*/
|
||||
@Injectable()
|
||||
export class BaseRequestOptions extends RequestOptions {
|
||||
|
Reference in New Issue
Block a user