Ring adapter to coerce Clojure functions to Undertow server handlers.
Ring adapter to coerce Clojure functions to Undertow server handlers.
(as-async-handler handler)
Adds metadata to the function handler
to be called as asynchronous ring
handler.
Adds metadata to the function `handler` to be called as asynchronous ring handler.
(enable-ring-handler)
Permanently sets server's adapter to the handler-fn-adapter
.
Permanently sets server's adapter to the [[handler-fn-adapter]].
(handler-fn-adapter ring-handler)
The function (fn [f] handler)
to coerce ring handler to the instance of
HttpHandler
. To be set using server/set-handler-fn-adapter
or passed as
::server/handler-fn-adapter
configuration option.
The function `(fn [f] handler)` to coerce ring handler to the instance of `HttpHandler`. To be set using `server/set-handler-fn-adapter` or passed as `::server/handler-fn-adapter` configuration option.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close