servant/servant-server
Alp Mestanogullari 8efabed5c6 Revamp static file serving module.
Instead of only exposing 'serveDirectory', which picks a specific static file
serving strategy (file server settings), we now expose 4 different variants each
corresponding to an variant of StaticSettings in wai-app-static.

In addition to these, we expose a more flexible 'serveDirectoryWith' function
which allows the user to specify some arbitrary StaticSettings, if the 4
existing variants do not cover a user's needs.
2017-01-17 14:14:46 +02:00
..
example Replace all occurances of () with NoContent 2016-07-10 16:58:59 +02:00
include less OverlappingInstances noise 2016-01-04 13:09:11 -05:00
src Revamp static file serving module. 2017-01-17 14:14:46 +02:00
test Make Handler a newtype 2017-01-16 12:18:49 +02:00
CHANGELOG.md Make Handler a newtype 2017-01-16 12:18:49 +02:00
LICENSE Change copyright to servant contributors 2016-01-20 16:58:29 +01:00
README.md set the homepage to readthedocs 2016-04-22 14:12:21 +08:00
servant-server.cabal Make Handler a newtype 2017-01-16 12:18:49 +02:00
Setup.lhs Make servant buildable with cabal new-build 2017-01-16 11:03:06 +02:00
tinc.yaml Use tinc on travis 2015-11-05 09:32:13 +08:00

servant-server

servant

This library lets you implement an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you.

Getting started

We've written a tutorial guide that introduces the core types and features of servant. After this article, you should be able to write your first servant webservices, learning the rest from the haddocks' examples.