Help Angular by taking a 1 minute survey!Go to surveyHome

HttpModule

The module that includes http's providers

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

class HttpModule { }
      
      class HttpModule {
}
    

Providers

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