# `Caracola.Tutorial`
[🔗](https://github.com/netkubes/caracola/blob/v0.1.0-rc.1/examples/tutorial/tutorial.ex#L1)

Code of the [tutorial](03-tutorial.md). `launch/0` runs all its steps.

# `launch`

```elixir
@spec launch() :: :ok
```

Runs all the steps of the tutorial, checking the results.

# `start`

```elixir
@spec start() :: :ok
```

Starts the server and the two clients. TLS uses certificates generated
for the tutorial (see `tls_config/0`).

# `stop`

```elixir
@spec stop() :: :ok
```

Stops the services.

# `tls_config`

```elixir
@spec tls_config() :: {keyword(), keyword()}
```

A certificate authority and a certificate signed by it, for the TLS
listeners (`:tls`), and the options for the clients to trust it
(`:tls_client`). Only for testing!

---

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