# `SSL.SessionCache`
[🔗](https://github.com/gsmlg-dev/http_fetch/blob/v1.0.0-rc.9/apps/ex_ssl/lib/ssl/session_cache.ex#L1)

Bounded, reusable, memory-only TLS 1.2 EMS session cache.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `lookup`

```elixir
@spec lookup(binary(), :auto | binary() | {binary(), binary()}, GenServer.server()) ::
  {:ok, SSL.TLS12Session.t()} | :miss
```

# `put`

```elixir
@spec put(binary(), SSL.TLS12Session.t(), GenServer.server()) ::
  :ok | {:error, atom()}
```

# `start_link`

```elixir
@spec start_link(keyword()) :: GenServer.on_start()
```

# `stats`

```elixir
@spec stats(GenServer.server()) ::
  %{count: non_neg_integer(), bytes: non_neg_integer()} | {:error, atom()}
```

---

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