Experimental synchronous non-blocking ring handler executed on IO thread.
Experimental synchronous non-blocking ring handler executed on IO thread.
(sync-ring-handler handler-fn)
Returns HttpHandler for synchronous ring handler function executed on IO thread.
The function handler-fn
takes one argument, a map representing a HTTP
request, and return a map representing the HTTP response.
Returns HttpHandler for **synchronous** ring handler function executed *on IO thread*. The function `handler-fn` takes one argument, a map representing a HTTP request, and return a map representing the HTTP response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close