MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / $HttpBackendProvider

Function $HttpBackendProvider

lib/test/angular/1.8.0/angular.js:13525–13529  ·  view source on GitHub ↗

* @ngdoc service * @name $httpBackend * @requires $jsonpCallbacks * @requires $document * @requires $xhrFactory * @this * * @description * HTTP backend used by the ng.$http service that delegates to * XMLHttpRequest object or JSONP and deals with browser incompatibilities. * * You

()

Source from the content-addressed store, hash-verified

13523 * $httpBackend} which can be trained with responses.
13524 */
13525function $HttpBackendProvider() {
13526 this.$get = ['$browser', '$jsonpCallbacks', '$document', '$xhrFactory', function($browser, $jsonpCallbacks, $document, $xhrFactory) {
13527 return createHttpBackend($browser, $xhrFactory, $browser.defer, $jsonpCallbacks, $document[0]);
13528 }];
13529}
13530
13531function createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDocument) {
13532 // TODO(vojta): fix the signature

Callers

nothing calls this directly

Calls 1

createHttpBackendFunction · 0.70

Tested by

no test coverage detected