W3cubDocs

/Angular 7

HttpModule

ngmodule deprecated

The module that includes http's providers

Deprecated: see https://angular.io/guide/http

class HttpModule {
}

Providers

Provider
{ provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] }
BrowserXhr
{ provide: RequestOptions, useClass: BaseRequestOptions }
{ provide: ResponseOptions, useClass: BaseResponseOptions }
XHRBackend
{ provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy }

© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/http/HttpModule