From d5fc3e435370d5cc1ea4e35a5168293dcd42b427 Mon Sep 17 00:00:00 2001 From: jordan Date: Fri, 3 Jul 2026 10:05:50 -0500 Subject: [PATCH] Document: Update elixir portion of readme to use charlist for host option Signed-off-by: jordan --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c38c93..df3ec9a 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Elixir: ```elixir {:ok, client} = :amqtt_client.connect(%{ - host: "broker.example.com", + host: ~c"broker.example.com", port: 1883, client_id: "my_client", keep_alive_seconds: 60 @@ -102,7 +102,7 @@ Elixir: ```elixir {:ok, client} = :amqtt_client.connect(%{ - host: "broker.example.com", + host: ~c"broker.example.com", port: 8883, transport: :ssl, ssl_opts: [{:verify, :verify_none}],