Liking cljdoc? Tell your friends :D
Clojure only.

s-exp.hirundo.sse


eventclj

(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.
raw docstring

stream!clj

(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

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close