Ring handler for Undertow server.
Ring handler for Undertow server.
(async-ring-handler handler-fn)
Returns HttpHandler for asynchronous ring handler function.
The function handler-fn
takes three arguments: the request map, a response
callback and an exception callback.
Returns HttpHandler for **asynchronous** ring handler function. The function `handler-fn` takes three arguments: the request map, a response callback and an exception callback.
(sync-ring-handler handler-fn)
Returns HttpHandler for synchronous ring handler function.
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. 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