OptionalcuratedOptionaldefaultExtra headers sent on every request.
OptionalmaxRedirects followed per request (same host only). Defaults to 3; 0 disables.
OptionalmaxHard cap on response body size in bytes (defends against memory exhaustion from a hostile/buggy endpoint). Defaults to 100 MiB; set to 0 for no limit.
OptionalmaxNumber of automatic retries for transient (429/503) responses.
OptionalregistryLive checks of registry entries. Defaults to the checks shipped with this package.
OptionalregistryURL of the endpoint registry. Defaults to https://dev.oparl.org/api/endpoints
OptionalretryBase backoff between retries in milliseconds (grows linearly).
OptionalsleepInjectable sleep, primarily for deterministic tests.
OptionaltimeoutTime limit per request in milliseconds, covering the whole response body, not only idle gaps (0 disables). Defaults to 120 s: some council systems take well over 30 s to render a single list page.
OptionaltransportSwappable transport. Defaults to the built-in node http/https transport.
OptionaluserValue of the User-Agent header.
Endpoints the registry lacks. Defaults to the list shipped with this package.