# `Brasilapi.Config`
[🔗](https://github.com/stlucasgarcia/brasilapi-ex/blob/main/lib/brasilapi/config.ex#L1)

Configuration module for BrasilAPI client.

# `base_url`

```elixir
@spec base_url() :: String.t()
```

Returns the base URL for BrasilAPI.

Can be overridden via application environment or system environment.

# `req_options`

```elixir
@spec req_options() :: keyword()
```

Returns additional Req options for HTTP requests.

# `retry_attempts`

```elixir
@spec retry_attempts() :: non_neg_integer()
```

Returns the number of retry attempts for failed requests.

# `retry_options`

```elixir
@spec retry_options() :: keyword()
```

Returns retry options for Req based on the configured retry attempts.

Retries are disabled automatically in test environment to keep tests fast
and avoid repeated network failures against Bypass.

# `timeout`

```elixir
@spec timeout() :: pos_integer()
```

Returns the request timeout in milliseconds.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
