servant: A family of combinators for defining webservices APIs

[ bsd3, library, servant, web ] [ Propose Tags ] [ Report a vulnerability ]

A family of combinators for defining webservices APIs and serving them

You can learn about the basics in the tutorial.

Here's a runnable example, with comments, that defines a dummy API and implements a webserver that serves this API, using the servant-server package.

CHANGELOG

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Versions [RSS] 0.1, 0.2, 0.2.1, 0.2.2, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.4.2, 0.4.4.3, 0.4.4.4, 0.4.4.5, 0.4.4.6, 0.4.4.7, 0.5, 0.6, 0.6.1, 0.7, 0.7.1, 0.8, 0.8.1, 0.9, 0.9.0.1, 0.9.1, 0.9.1.1, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.0.1, 0.14, 0.14.1, 0.15, 0.16, 0.16.0.1, 0.16.1, 0.16.2, 0.17, 0.18, 0.18.1, 0.18.2, 0.18.3, 0.19, 0.19.1, 0.20, 0.20.1, 0.20.2
Dependencies aeson (>=0.7), attoparsec (>=0.12), base (>=4.7 && <4.9), bytestring (>=0.10 && <0.11), bytestring-conversion (>=0.3 && <0.4), case-insensitive (>=1.2), http-media (>=0.4 && <0.7), http-types (>=0.8 && <0.9), network-uri (>=2.6), string-conversions (>=0.3 && <0.5), text (>=1 && <2) [details]
Tested with ghc >=7.8
License BSD-3-Clause
Copyright 2014 Zalora South East Asia Pte Ltd
Author Alp Mestanogullari, Sönke Hahn, Julian K. Arni
Maintainer alpmestan@gmail.com
Revised Revision 1 made by phadej at 2016-02-16T09:39:32Z
Category Web
Home page http://haskell-servant.github.io/
Bug tracker http://github.com/haskell-servant/servant/issues
Source repo head: git clone http://github.com/haskell-servant/servant.git
Uploaded by jkarni at 2015-07-30T09:16:21Z
Distributions Arch:0.20.2, Debian:0.16.2, Fedora:0.19.1, LTSHaskell:0.20.2, NixOS:0.20.1, Stackage:0.20.2, openSUSE:0.20.2
Reverse Dependencies 313 direct, 421 indirect [details]
Downloads 83778 total (582 in the last 30 days)
Rating 3.0 (votes: 23) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-07-30 [all 1 reports]