Liking cljdoc? Tell your friends :D

strojure.ring-undertow.adapter

Ring adapter to coerce Clojure functions to Undertow server handlers.

Ring adapter to coerce Clojure functions to Undertow server handlers.
raw docstring

as-async-handlerclj

(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.
sourceraw docstring

enable-ring-handlerclj

(enable-ring-handler)

Permanently sets server's adapter to the handler-fn-adapter.

Permanently sets server's adapter to the [[handler-fn-adapter]].
sourceraw docstring

handler-fn-adaptercljmultimethod

(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.
sourceraw docstring

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

× close