Liking cljdoc? Tell your friends :D
Clojure only.

cl4cl.sse

Server-sent events as data: a transducer from lines to events.

Server-sent events as data: a transducer from lines to events.
raw docstring

eventsclj

(events)

A stateful transducer from the lines of an SSE stream to event maps {:event name, :data string}. :event is absent for unnamed events. Multiple data lines are joined with newlines. Comment lines and fields other than event and data are ignored, and an event that is still incomplete when the input ends is discarded, as the SSE standard says.

A stateful transducer from the lines of an SSE stream to event maps
{:event name, :data string}. :event is absent for unnamed events.
Multiple data lines are joined with newlines. Comment lines and fields
other than event and data are ignored, and an event that is still
incomplete when the input ends is discarded, as the SSE standard says.
sourceraw docstring

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