OptionalauthBasic authentication credentials.
OptionalconsistencyDefault consistency level for queries.
OptionalfetchCustom fetch implementation to use for HTTP requests.
Supply a pre-configured fetch function to enable mTLS or other advanced
transport options. When omitted, the global fetch is used.
OptionalfollowAutomatically follow leader redirects (HTTP 301/307). Defaults to true.
OptionalfreshnessDefault freshness options for stale reads.
Host and port of the rqlite node (e.g. "localhost:4001").
OptionalmaxMaximum number of leader redirect attempts. Defaults to 5.
OptionalmaxMaximum number of retry attempts for transient failures. Defaults to 3.
OptionalretryBase delay in milliseconds for exponential backoff between retries. Defaults to 100.
OptionaltimeoutDefault request timeout in milliseconds.
OptionaltlsUse HTTPS instead of HTTP.
Configuration for the rqlite client.