Class Overview
class XHRBackend implements ConnectionBackend {
constructor
(_browserXHR: BrowserXhr, _baseResponseOptions: ResponseOptions, _xsrfStrategy: XSRFStrategy)
createConnection
(request: Request) : XHRConnection
}
Class Description
Creates XHRConnection
instances.
This class would typically not be used by end users, but could be overridden if a different backend implementation should be used, such as in a node backend.
Example
Annotations
@Injectable()
Constructor
exported from http/index, defined in http/src/backends/xhr_backend.ts