ng-http-interceptor
Version:
> Http Interceptor library for Angular
38 lines • 1.29 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes} checked by tsc
*/
import { Injectable } from "@angular/core";
import { Http, RequestOptions, ConnectionBackend } from "@angular/http";
import { InterceptableHttpProxyService } from "./interceptable-http-proxy.service";
import { identityFactory } from "./util";
export class InterceptableHttp extends Http {
/**
* @param {?} _backend
* @param {?} _defaultOptions
*/
constructor(_backend, _defaultOptions) {
super(_backend, _defaultOptions);
}
}
InterceptableHttp.decorators = [
{ type: Injectable },
];
/** @nocollapse */
InterceptableHttp.ctorParameters = () => [
{ type: ConnectionBackend, },
{ type: RequestOptions, },
];
function InterceptableHttp_tsickle_Closure_declarations() {
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
InterceptableHttp.decorators;
/**
* @nocollapse
* @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
*/
InterceptableHttp.ctorParameters;
}
export const /** @type {?} */ InterceptableHttpProviders = [
identityFactory(InterceptableHttp, InterceptableHttpProxyService)
];
//# sourceMappingURL=interceptable-http.js.map