Skip to content

Commit

Permalink
[fix] [Undertow adapter] sch-send! is supposed to return true on su…
Browse files Browse the repository at this point in the history
…ccess
  • Loading branch information
ptaoussanis committed Mar 7, 2023
1 parent 728901a commit a4cf644
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/taoensso/sente/server_adapters/undertow.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
i/IServerChan
(sch-open? [sch] (.isOpen sch))
(sch-close! [sch] (.sendClose sch))
(sch-send! [sch websocket? msg] (websocket/send msg sch)))
(sch-send! [sch websocket? msg]
(websocket/send msg sch)
(i/sch-open? sch)))

(extend-protocol response/RespondBody
WebSocketConnectionCallback
Expand Down

0 comments on commit a4cf644

Please sign in to comment.