The API key used for authenticating requests to Ipregistry.
OptionalbaseThe base URL of the Ipregistry API, or the shorthand 'eu' for the European Union endpoint. Defaults to 'https://api.ipregistry.co'.
OptionalbatchHow many batch sub-requests are dispatched concurrently when a batch is split into chunks. Defaults to 4.
OptionalcacheThe cache used to memoize lookups. Defaults to NoCache.
OptionalmaxThe maximum number of values sent in a single batch request. Capped at
DEFAULT_MAX_BATCH_SIZE (the API limit).
OptionalmaxThe maximum number of automatic retries performed in addition to the initial attempt. Defaults to 3. Use 0 to disable retries.
OptionalrequestA custom handler for API requests.
OptionalretryThe base backoff (in milliseconds) between retries. Defaults to 1000.
OptionalretryWhether 5xx responses (and transient network errors) are retried. Defaults to true.
OptionalretryWhether 429 Too Many Requests responses are retried, honoring the Retry-After header when present. Defaults to false.
OptionaltimeoutThe timeout (in milliseconds) for API requests. Defaults to 5000.
Configuration options for constructing an
IpregistryClient.