(event & {:as msg})Formats SSE event data. msg can be a string or a map with keys :event,
:data, :id, :retry.
Formats SSE event data. `msg` can be a string or a map with keys :event, :data, :id, :retry.
(stream! request
&
{:keys [headers status compression heartbeat-ms close-ch input-ch]
:or {heartbeat-ms 1500
status 200
compression {:type :brotli :quality 4 :window-size 18}}})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |