luminus-framework/luminus-immutant

Name: luminus-immutant

Owner: luminus-framework

Description: Immutant adapter for Luminus

Created: 2016-01-08 00:22:09.0

Updated: 2018-03-08 18:06:03.0

Pushed: 2017-10-24 21:11:18.0

Homepage:

Size: 14

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

luminus-immutant

Immutant HTTP adapter for Luminus

Usage

The library provides three function for managing the server lifecycle.

The server can be started using the start function that accepts a Ring handler and a map of options described in the official documentation.

uire '[luminus.http-server :as http])

 server (http/start handler {:port 3000}))

The server can have multiple handlers, these are appended using the wrap-handler function:

server
(http/wrap-handler another-handler {:path "/foo"})
(http/wrap-handler yet-another-handler {:path "/bar"}))

The server is stopped using the stop function:

p/stop server)
License

Copyright © 2016 Dmitri Sotnikov

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.