@ngx-tonysamperi/rest
v20.1.1
Published
The goal of this lib is providing some utils to simplify interacting with HttpModule. It offers:
Readme
ngx-tonysamperi/rest
The goal of this lib is providing some utils to simplify interacting with HttpModule. It offers:
- SmpRestInterceptorService
- Centralize your requests management (you can extend this to further customise)
- Add pre/post delay or TTL (cache) using SmpHttpParams
- Pre/post processing of requests/responses using SmpInterceptProcessorService (you can extend to further customize)
- SmpRestService
- Standardise your endpoint management, using "generateHttpConfig"
- Simplify http calls by calling the generic $http method, that works with SmpHttpConfig to automatically handle methods, response types and other stuff, using a unique simplified interface.
Installation
npm i @ngx-tonysamperi/rest
Author
Licence
SEE LICENCE FILE
