Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 810 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 810 Bytes

bakery-jetty

A leaven component for running a jetty server.

Install

Add [com.palletops/bakery-jetty "0.3.1-SNAPSHOT"] to your :dependencies.

Usage

The com.palletops.bakery.jetty/jetty function returns a leaven component.

It takes a single map argument with the following keys:

:handler : the ring handler. Must be supplied.

:config : a map that will be passed to jetty's run-server function. The default port is 3000.

License

Copyright © 2014 Hugo Duncan

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