Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.gateway.server.transport.sse

Concrete SSE framing for the gateway's Ring server transport.

Concrete SSE framing for the gateway's Ring server transport.
raw docstring

encode-frameclj

(encode-frame event)

Encode each body once. Return the bytes to write and whether the body was elided.

Encode each body once. Return the bytes to write and whether the body was elided.
sourceraw docstring

encode-job-frameclj

(encode-job-frame event-name job)

Render current job state without a replay cursor. A large job is read by ID.

Render current job state without a replay cursor. A large job is read by ID.
sourceraw docstring

HEARTBEAT_MSclj

source

job-sse-frameclj

(job-sse-frame event-name job)

Render the job frame as text. Socket writers use encode-job-frame.

Render the job frame as text. Socket writers use [[encode-job-frame]].
sourceraw docstring

max-frame-bytesclj

source

sse-frameclj

(sse-frame event)

Render the canonical frame as text. Socket writers use encode-frame.

Render the canonical frame as text. Socket writers use [[encode-frame]].
sourceraw docstring

sse-headersclj

Response headers of EVERY SSE endpoint. no-transform + X-Accel-Buffering are the point: intermediaries (Cloudflare tunnels, nginx) BUFFER a streaming body unless told not to, and a buffered stream delivers nothing until disconnect — which reads as "streaming dead until refresh" in any proxied client.

Response headers of EVERY SSE endpoint. `no-transform` + `X-Accel-Buffering`
are the point: intermediaries (Cloudflare tunnels, nginx) BUFFER a streaming
body unless told not to, and a buffered stream delivers nothing until
disconnect — which reads as "streaming dead until refresh" in any proxied
client.
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