UNPKG

@anglr/rest

Version:

Angular module representing rest services

38 lines 1.12 kB
import { Injectable } from '@angular/core'; import { RESTClientBase } from '../../misc/classes/restClientBase'; import * as i0 from "@angular/core"; /** * Angular RESTClient base class. */ export class RESTClient extends RESTClientBase { /** * @inheritdoc */ getBaseUrl() { return ''; } /** * @inheritdoc */ getDefaultHeaders() { return {}; } /** * @inheritdoc */ requestInterceptor(req) { return req; } /** * @inheritdoc */ responseInterceptor(res) { return res; } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: RESTClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); } static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: RESTClient }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: RESTClient, decorators: [{ type: Injectable }] }); //# sourceMappingURL=restClient.service.js.map