W3cubDocs

/Angular 2 TypeScript

BrowserXhr

Experimental Class

Class Overview

class BrowserXhr {
  constructor()
  
  
  build() : any
}

Class Description

A backend for http that uses the XMLHttpRequest browser API.

Take care not to evaluate this in non-browser contexts.

Annotations

@Injectable()

Constructor

constructor()

Class Details

build() : any

exported from @angular/http/index, defined in @angular/http/src/backends/browser_xhr.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/http/index/BrowserXhr-class.html