servant/servant-server
Oleg Grenrus bc3f61d615 Add Servant.API.Modifiers to servant
Changes Header, ReqBody and QueryParam to take a modifier list.

Resolves https://github.com/haskell-servant/servant/issues/856

ResponseHeader story turns to be somewhat ugly, but it can be made
elegant when https://github.com/haskell-servant/servant/issues/841 is
implemnted, then we can omit HList aka Header Heterogenous List
implementation.

- servant-server changes:

  Writing server side intepretations is quite simple using
  `unfoldRequestArgument`, which makes Header and QueryParam look quite
  the same.

  `ReqBody` cannot be easily made optional with current design (what that
  would mean: No Content-Type Header?), so that dimensions isn't used
  there.

- Add HasLink for all the rest ComprehensiveAPI combinators
- Add 'tricky' Header', QueryParam' endpoints to ComprehensiveAPI
- servant-docs: Quick'n'dirty implementation. Don't use modifiers information (yet).
2018-01-25 09:10:11 +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 Add Servant.API.Modifiers to servant 2018-01-25 09:10:11 +02:00
test Add Servant.API.Modifiers to servant 2018-01-25 09:10:11 +02:00
CHANGELOG.md Bump versions and update changelogs. 2017-11-06 11:24:48 +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 Fix travis, disallow memory-0.14.12 2018-01-17 20:33:49 +02:00
Setup.lhs Use #warning in Setup.lhs 2017-05-24 10:22:01 +03: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.