1.0.7 • Published 3 years ago

@von-development-studio/angular-rest-service v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

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
  2. 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);
      }
    }
  3. 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
2.0.2-SNAPSHOT

3 years ago

2.0.3-SNAPSHOT

3 years ago

2.0.0-SNAPSHOT

3 years ago

2.0.4-SNAPSHOT

3 years ago

2.0.1-SNAPSHOT

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago