From 43a40e0f3ef860eae18f8a2ca051f2ecdf379a27 Mon Sep 17 00:00:00 2001 From: IrrenWirr <85679298+IrrenWirr@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:40:40 +0000 Subject: [PATCH] fix typo of doc for babashka.http-client.websocket (#70) --- API.md | 2 +- src/babashka/http_client/websocket.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index e273519..87d771d 100644 --- a/API.md +++ b/API.md @@ -446,7 +446,7 @@ Sends a message to the WebSocket. Builds `java.net.http.Websocket` client. * `:uri` - the uri to request (required). - May be a string or map of `:schema` (required), `:host` (required), `:port`, `:path` and `:query` + May be a string or map of `:scheme` (required), `:host` (required), `:port`, `:path` and `:query` * `:headers` - a map of headers for the initial handshake` * `:client` - a client as produced by `client`. If not provided a default client will be used. * `:connect-timeout` Sets a timeout for establishing a WebSocket connection (in millis). diff --git a/src/babashka/http_client/websocket.clj b/src/babashka/http_client/websocket.clj index 3e6ed6f..89fba4b 100644 --- a/src/babashka/http_client/websocket.clj +++ b/src/babashka/http_client/websocket.clj @@ -10,7 +10,7 @@ (defn websocket "Builds `java.net.http.Websocket` client. * `:uri` - the uri to request (required). - May be a string or map of `:schema` (required), `:host` (required), `:port`, `:path` and `:query` + May be a string or map of `:scheme` (required), `:host` (required), `:port`, `:path` and `:query` * `:headers` - a map of headers for the initial handshake` * `:client` - a client as produced by `client`. If not provided a default client will be used. * `:connect-timeout` Sets a timeout for establishing a WebSocket connection (in millis).