Skip to content

Commit

Permalink
Merge pull request #51 from apeckham/patch-1
Browse files Browse the repository at this point in the history
`echo.websocket.org` -> `echo.websocket.events`, because `.org` doesn't work anymore
  • Loading branch information
gnarroway authored May 28, 2023
2 parents f8dd04f + 0ac16cc commit d574034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ The simplest way to get started is with the `websocket` function:
```clojure
(require '[hato.websocket :as ws])

(let [ws @(ws/websocket "ws://echo.websocket.org"
(let [ws @(ws/websocket "ws://echo.websocket.events"
{:on-message (fn [ws msg last?]
(println "Received message:" msg))
:on-close (fn [ws status reason]
Expand All @@ -502,7 +502,7 @@ can be wrapped in e.g. [manifold](https://github.com/ztellman/manifold), to give
(require '[hato.websocket :as ws])
(require '[manifold.deferred :as d])

(-> (ws/websocket "ws://echo.websocket.org"
(-> (ws/websocket "ws://echo.websocket.events"
{:on-message (fn [ws msg last?]
(println "Received message:" msg))
:on-close (fn [ws status reason]
Expand All @@ -515,7 +515,7 @@ can be wrapped in e.g. [manifold](https://github.com/ztellman/manifold), to give

### WebSocket options

`uri` A WebSocket uri (e.g. `"ws://echo.websocket.org"`).
`uri` A WebSocket uri (e.g. `"ws://echo.websocket.events"`).


`opts` Additional options may be a map of any of the following keys:
Expand Down

0 comments on commit d574034

Please sign in to comment.