Liking cljdoc? Tell your friends :D

taoensso.sente.server-adapters.macchiato

Sente server adapter for Node.js with the Macchiato Framework (https://macchiato-framework.github.io/).

Sente server adapter for Node.js with the Macchiato Framework
(https://macchiato-framework.github.io/).
raw docstring

csrf-pathcljs

source

make-macchiato-channel-socket-server!cljs

(make-macchiato-channel-socket-server! & [opts])

A customized make-channel-socket-server! that uses Node.js with Macchiato as the web server.

A customized `make-channel-socket-server!` that uses Node.js with
Macchiato as the web server.
sourceraw docstring

wrap-macchiatocljs

(wrap-macchiato handler)

Wraps a generic node Sente handler to work with Macchiato. This remaps some keys of a Macchiato request to match what Sente and the generic node adapter are expecting, calling handler. The generic node adapter will call the appropriate methods on the Node.js response object without using Macchiato's response function.

Wraps a generic node Sente handler to work with Macchiato.  This
remaps some keys of a Macchiato request to match what Sente and the
generic node adapter are expecting, calling `handler`.  The generic
node adapter will call the appropriate methods on the Node.js response
object without using Macchiato's response function.
sourceraw docstring

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

× close