Sente server adapter for Node.js with the Macchiato Framework, Ref. <https://github.com/macchiato-framework/macchiato-core>.
(make-macchiato-channel-socket-server! & [opts])
A customized `make-channel-socket-server!` that uses Node.js with Macchiato as the web server.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close