Liking cljdoc? Tell your friends :D
Clojure only.

strojure.ring-undertow.server

Server's start/stop functionality with ring handler adapter.

Server's start/stop functionality with ring handler adapter.
raw docstring

startclj

(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.
    • 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:

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

stopclj

(stop instance)

Stops server instance, returns nil.

Stops server instance, returns nil.
sourceraw docstring

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

× close