# `Teals.Config`
[🔗](https://github.com/upmaru/teals/blob/v0.1.0/lib/teals/config.ex#L1)

A TLS 1.3 server configuration, built once by `Teals.config/1` and shared by
every connection that uses it.

The certificate's private key stays inside the native handle: it is not a
field of this struct, so inspecting or logging a configuration never shows
it.

# `t`

```elixir
@opaque t()
```

# `verify`

```elixir
@type verify() :: :none | :request | :optional | :required
```

Client certificate verification mode.

# `alpn`

```elixir
@spec alpn(t()) :: [binary()]
```

The ALPN protocols offered, in preference order.

# `close_timeout`

```elixir
@spec close_timeout(t()) :: pos_integer()
```

How long, in milliseconds, closing may take to flush queued data.

# `verify`

```elixir
@spec verify(t()) :: verify()
```

The client certificate verification mode.

---

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