HttpModule

class

npm Package @angular/http
Module import { HttpModule } from '@angular/http';
Source http/src/http_module.ts

Overview

class HttpModule {
}

Description

The module that includes http's providers

Annotations

@NgModule({ providers: [ { provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] }, BrowserXhr, { provide: RequestOptions, useClass: BaseRequestOptions }, { provide: ResponseOptions, useClass: BaseResponseOptions }, XHRBackend, { provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy }, ] })

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