HTTP Observing

Switch

Enable observing for the service:
crudService.enableObserve(method : UniversalMethod = 'ANY', lifetime : number = 1000) : this
Disable observing for the service:
crudService.disableObserve() : this

Complete

Complete a single request by its urlWithParams for enabled services:
observeService.complete(urlWithParams : string) : this
Complete many requests by their url for enabled services:
observeService.completeMany(url : string) : this
Complete all requests for enabled services:
observeService.completeAll() : this

Observe

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