Liking cljdoc? Tell your friends :D

ring.core.protocols

Protocols necessary for Ring.

Protocols necessary for Ring.
raw docstring

StreamableResponseBodycljprotocol

A protocol for writing data to the response body via an output stream.

A protocol for writing data to the response body via an output stream.

write-body-to-streamclj

(write-body-to-stream body response output-stream)

Write a value representing a response body to an output stream. The stream will be closed after the value had been written. The stream may be written asynchronously from asynchronous handlers. In synchronous handlers, the response is considered completed once this method ends.

Write a value representing a response body to an output stream. The stream
will be closed after the value had been written. The stream may be written
asynchronously from asynchronous handlers. In synchronous handlers, the
response is considered completed once this method ends.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close