From 2117a5af5a0ce3cbeaf21bd64f5d738539695459 Mon Sep 17 00:00:00 2001 From: Tom Hughes <4213219+tomalexhughes@users.noreply.github.com> Date: Sun, 20 Jul 2025 21:57:14 +0100 Subject: [PATCH 1/2] docs: remove reference to `mist.start_http` and `mist.start_https` from `README.md` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 127fe5d..43f767c 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ $ cd $ gleam add mist logging gleam_erlang gleam_http gleam_otp gleam_yielder ``` -The main entrypoints for your application are `mist.start_http` and -`mist.start_https`. The argument to these functions is generated from the +The main entrypoint for your application is `mist.start`. +The argument to this function is generated from the opaque `Builder` type. It can be constructed with the `mist.new` function, and fed updated configuration options with the associated methods (demonstrated in the examples below). From 73b19e70816a7af4515ea5d1dace57bd98651f96 Mon Sep 17 00:00:00 2001 From: Tom Hughes <4213219+tomalexhughes@users.noreply.github.com> Date: Sun, 20 Jul 2025 21:58:43 +0100 Subject: [PATCH 2/2] docs: re-format line length for updated text --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 43f767c..69423d1 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,10 @@ $ cd $ gleam add mist logging gleam_erlang gleam_http gleam_otp gleam_yielder ``` -The main entrypoint for your application is `mist.start`. -The argument to this function is generated from the -opaque `Builder` type. It can be constructed with the `mist.new` function, and -fed updated configuration options with the associated methods (demonstrated -in the examples below). +The main entrypoint for your application is `mist.start`. The argument to this +function is generated from the opaque `Builder` type. It can be constructed with +the `mist.new` function, and fed updated configuration options with the +associated methods (demonstrated in the examples below). ```gleam import gleam/bytes_tree