Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d488a89

Browse files
Hotellcaitp
authored andcommitted
docs($http): document $httpProvider.interceptors in $httpProvider documentation
☆.。.:・゜☆ HASHBANG #NGEUROPE ☆.。.:・゜☆ Fixes #9366 Closes #9728
1 parent 3635721 commit d488a89

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/ng/http.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,18 @@ function $HttpProvider() {
178178
};
179179

180180
/**
181-
* Are ordered by request, i.e. they are applied in the same order as the
181+
* @ngdoc property
182+
* @name $httpProvider#interceptors
183+
* @description
184+
*
185+
* Array containing service factories for all synchronous or asynchronous {@link ng.$http $http}
186+
* pre-processing of request or postprocessing of responses.
187+
*
188+
* These service factories are ordered by request, i.e. they are applied in the same order as the
182189
* array, on request, but reverse order, on response.
183-
*/
190+
*
191+
* {@link ng.$http#interceptors Interceptors detailed info}
192+
**/
184193
var interceptorFactories = this.interceptors = [];
185194

186195
this.$get = ['$httpBackend', '$browser', '$cacheFactory', '$rootScope', '$q', '$injector',

0 commit comments

Comments
 (0)