Liking cljdoc? Tell your friends :D

com.sixsq.nuvla.server.ring

Provides a simple, generic ring application server that can be started either via the static 'main' function (e.g. for running as a daemon) or via the 'start' function (e.g. for testing from the REPL).

Provides a simple, generic ring application server that can be started
either via the static 'main' function (e.g. for running as a daemon) or via
the 'start' function (e.g. for testing from the REPL).
raw docstring

-mainclj

(-main & _)

Function to start the web application as a daemon. The configuration of the server is taken from the environment. The environment must have NUVLA_SERVER_INIT defined. NUVLA_SERVER_PORT and NUVLA_SERVER_PORT may be defined.

Function to start the web application as a daemon. The configuration of the
server is taken from the environment. The environment must have
NUVLA_SERVER_INIT defined. NUVLA_SERVER_PORT and NUVLA_SERVER_PORT may be
defined.
raw docstring

default-hostclj


default-portclj


startclj

(start server-init & [port host])

Starts the application and application server. Return a 'stop' function that will shut down the application and server when called.

Starts the application and application server. Return a 'stop' function
that will shut down the application and server when called.
raw docstring

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

× close