Interface: EmbyRequestOptions
Request-reliability options, passed once at construction under options.
Values are Zod-validated (see resolveRequestOptions) — bad input throws.
Properties
retries?
optionalretries?:number
Retry attempts after the first failure (0 disables). Defaults to 2.
GET/DELETE retry on network errors, 5xx and 429; POST/PUT retry only on 429
(honoring Retry-After) and connection errors that never reached the server.
retryDelay?
optionalretryDelay?:number
Base backoff delay in ms (exponential with jitter between attempts). Defaults to 200.
timeout?
optionaltimeout?:number
Per-attempt timeout in milliseconds before the request is aborted and the
promise rejects with a TimeoutError. 0 disables it. Defaults to 30000.