API/QubeeHttpResourceOptions
QubeeHttpResourceOptions
Options of qubeeHttpResource
Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
init? |
Omit<HttpResourceRequest, 'body' | 'method' | 'params' | 'url'> |
Request options added to every request — withCredentials, a context for your interceptors, extra headers. The list’s own headers (PostgREST’s Range) win over yours on a clash, since paging depends on them. Authentication belongs in an interceptor, which applies as usual. |
injector? |
Injector |
The injector the resource lives in; required outside an injection context. |
keepPreviousData? |
boolean |
Keep showing the previous page while the next one loads. Default true. |