File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,28 @@ export class HttpInterceptorService extends Http {
6969 }
7070}
7171
72+ /**
73+ * @deprecated Prefer the new HttpClientModule.
74+ * From 4.3, Http interceptors are built in.
75+ *
76+ * The next release of ng-http-loader will require angular ^4.3.0.
77+ * Please upgrade !
78+ *
79+ * @see https://angular.io/guide/http
80+ */
7281export function HttpInterceptorServiceFactory ( backend : XHRBackend , defaultOptions : RequestOptions ) {
7382 return new HttpInterceptorService ( backend , defaultOptions ) ;
7483}
7584
85+ /**
86+ * @deprecated Prefer the new HttpClientModule.
87+ * From 4.3, Http interceptors are built in.
88+ *
89+ * The next release of ng-http-loader will require angular ^4.3.0.
90+ * Please upgrade !
91+ *
92+ * @see https://angular.io/guide/http
93+ */
7694export let HttpInterceptorServiceFactoryProvider = {
7795 provide : HttpInterceptorService ,
7896 useFactory : HttpInterceptorServiceFactory ,
You can’t perform that action at this time.
0 commit comments