Skip to content

Commit

Permalink
fix typo of doc for babashka.http-client.websocket (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
IrrenWirr authored Sep 30, 2024
1 parent 6c9ff2a commit 43a40e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion src/babashka/http_client/websocket.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 43a40e0

Please sign in to comment.