Liking cljdoc? Tell your friends :D

kosmos-web

A Kosmos component for starting a web server. Provides a RingJettyComponent that uses Ring's Jetty adapter.

Clojars Project

Example Configuration

   {:web 
     {:kosmos/init kosmos.web/RingJettyComponent
      :port 1111
      :ring-app some-ring-app
      :app-init init-fn}}

The some-ring-app is the app var itself. The init-fn is a user-supplied function that does any initialization the Ring app such as setting up middleware.

FIXME

License

Kosmos is distributed under the Eclipse Public License, the same as Clojure.

Can you improve this documentation? These fine people already did:
Michael Pendergrass & Bridget Hillyer
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close