@von-development-studio/angular-rest-service
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.7 • Public • Published

    Angular Rest Service

    This library was generated with Angular CLI version 11.0.3.

    Installing

    1. Add NPM package into your project:
    npm install @von-development-studio/angular-rest-service --save
    1. Create your rest service file RestService
    ...
    import { VonRestService } from '@von-development-studio/angular-rest-service';
    ...
    
    @Injectable({
      providedIn: 'root'
    })
    export class RestService extends VonRestService {
      constructor(
        protected http: HttpClient,
        protected sanitizer: DomSanitizer
      ) {
        super(http, sanitizer);
      }
    }
    1. Create your rest interceptor service file RestInterceptorService
    ...
    import { VonRestInterceptorService } from '@von-development-studio/angular-rest-service';
    ...
    
    @Injectable({
      providedIn: 'root'
    })
    export class RestInterceptorService extends VonRestInterceptorService {
      constructor(
        protected router: Router
      ) {
        super(router);
      }
    }

    By Von Development Studio

    Install

    npm i @von-development-studio/angular-rest-service

    DownloadsWeekly Downloads

    8

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    91.5 kB

    Total Files

    27

    Last publish

    Collaborators

    • lfgarcia22