Go to file
Andres Loeh bc04d120ec Allow more flexbility in setting the request body.
Rather than hard-coding the `RequestBodyLBS` constructor and be
limited to lazy bytestrings, the new function `setReqBody` just
takes any value of type `RequestBody`.

The old function `setRQBody` has been renamed to `setReqBodyLBS`.
The old name is still available, but deprecated.

The change has the advantage the we can define new servant API
combinators that use streaming request bodies such as for example
constructed by the `streamFile` function in http-client.

The behaviour for the existing `ReqBody` API combinator is
unaffected by this change.
2017-01-12 14:08:50 +01:00
doc Update tutorial (NT changes) 2016-11-16 08:29:36 +02:00
scripts switch ci to stack and add ci cron job to test hackage breakage 2016-08-17 14:12:12 +02:00
servant Merge pull request #653 from phadej/aeson-1.1 2017-01-03 11:04:25 +01:00
servant-client Allow more flexbility in setting the request body. 2017-01-12 14:08:50 +01:00
servant-docs Bump version. 2016-10-27 13:25:27 +02:00
servant-foreign Bump version. 2016-10-27 13:25:27 +02:00
servant-server Fix hspec-wai issue 2017-01-01 20:52:18 +02:00
.gitignore tutorial: update .gitignore 2016-03-19 17:40:00 +08:00
.stylish-haskell.yaml Contributing 2015-08-17 23:50:42 +02:00
.travis.yml switch ci to stack and add ci cron job to test hackage breakage 2016-08-17 14:12:12 +02:00
CONTRIBUTING.md add 'stack setup' command 2016-09-02 12:43:22 +02:00
HLint.hs Contributing 2015-08-17 23:50:42 +02:00
README.md set the homepage to readthedocs 2016-04-22 14:12:21 +08:00
servant.png Update READMEs 2015-04-20 15:48:37 +02:00
sources.txt Move servant-js to own repo 2016-10-08 15:08:07 +01:00
stack-ghc-7.8.4.yaml Merge pull request #653 from phadej/aeson-1.1 2017-01-03 11:04:25 +01:00
stack-ghc-8.0.1.yaml Support aeson-1.1 2017-01-01 20:02:56 +02:00
stack.yaml Fix hspec-wai issue 2017-01-01 20:52:18 +02:00

servant - A Type-Level Web DSL

servant

Getting Started

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

The central documentation can be found here. Other blog posts, videos and slides can be found on the website.

If you need help, drop by the IRC channel (#servant on freenode) or mailing list.

Contributing

See CONTRIBUTING.md