# `DetoxifySh.Client`

A configured client, made by `DetoxifySh.new/1`. It is plain data: keep one in your
application's configuration or a module attribute and share it between processes.

Its inspected form leaves out the API key, so logging a client cannot leak it.

# `t`

```elixir
@type t() :: %DetoxifySh.Client{
  api_key: String.t() | nil,
  base_url: String.t(),
  cache: atom() | nil,
  max_retries: non_neg_integer(),
  req_options: keyword(),
  sleep: (non_neg_integer() -&gt; any()),
  timeout: pos_integer()
}
```

---

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