angular-cn/public/docs/js/latest/api/http/XHRBackend-class.jade

51 lines
937 B
Plaintext

p.location-badge.
exported from <a href='../http'>angular2/http</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/http/backends/xhr_backend.ts#L80-L114">angular2/src/http/backends/xhr_backend.ts (line 80)</a>
:markdown
The http module provides services to perform http requests. To get started, see the <a href='Http-class.html'><code>Http</code></a>
class.
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Injectable
pre.prettyprint
code.
@Injectable()
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions)
:markdown
.l-sub-section
h3 createConnection
pre.prettyprint
code.
createConnection(request: Request)
:markdown