(start config)
Starts server using server/start with ring handler adapter.
Additional configurations keys.
:ring-handler-type
The type of all ring handlers in the configuration.
:sync
means synchronous ring handler
handler/sync
.:async
means asynchronous ring handler handler/async
.To use handlers of mixed type you can either:
handler/ring
;handler/sync
and handler/async
to your handlers
explicitly.Starts server using [server/start][1] with ring handler adapter. Additional configurations keys. - `:ring-handler-type` The type of all ring handlers in the configuration. - No value or value `:sync` means synchronous ring handler [[handler/sync]]. - Value `:async` means asynchronous ring handler [[handler/async]]. To use handlers of mixed type you can either: - configure handler declaratively like described in [[handler/ring]]; - apply functions [[handler/sync]] and [[handler/async]] to your handlers explicitly. [1]: https://cljdoc.org/d/com.github.strojure/undertow/CURRENT/api/strojure.undertow.server#start
(stop instance)
Stops server instance, returns nil.
Stops server instance, returns nil.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close