References
hofs
summary | ||
public |
F defaultHeaders(_defaultHeaders: object): function Add HTTP headers to every fetch |
|
public |
F interceptor() Manage interceptors - to do something before or after every fetch. |
|
public |
F jsonResponse(suppressWarning: boolean): function Implicitly parse response to json. |
|
public |
Log request and response. |
|
public |
F onErrorRetry(options: {maxRetry: number, delayMs: number}): function Creat a fetch which retries when:
|