HTTP Aborting

Switch

Enable aborting for the service:
crudService.enableAbort(method : UniversalMethod = 'GET', lifetime : number = 2000) : this
Disable aborting for the service:
crudService.disableAbort() : this

Abort

Abort all requests of the service:
crudService.abort() : this
Abort a single request by its urlWithParams for enabled services:
abortService.abort(urlWithParams : string) : this
Abort many requests by their url for enabled services:
abortService.abortMany(url : string) : this
Abort all requests for enabled services:
abortService.abortAll() : this

Observe

Observe a single request by its urlWithParams for enabled services:
abortService.observe(urlWithParams : string) : Observable<[string, Store]>
Observe many requests by their url for enabled services:
abortService.observeMany(url : string) : Observable<[string, Store]>
Observe all requests for enabled services:
abortService.observeAll() : Observable<[string, Store]>
Copy link
On this page
Switch
Abort
Observe