3synopsis: automatical derivation of querying functions for servant webservices
5 This library lets you derive automatically Haskell functions that
6 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
10 > type MyApi = "books" :> Get [Book] -- GET /books
11 > :<|> "books" :> ReqBody Book :> Post Book -- POST /books
13 > myApi :: Proxy MyApi
16 > getAllBooks :: BaseUrl -> EitherT String IO [Book]
17 > postNewBook :: Book -> BaseUrl -> EitherT String IO Book
18 > (getAllBooks :<|> postNewBook) = client myApi
21author: Alp Mestanogullari, Sönke Hahn, Julian K. Arni
22maintainer: alpmestan@gmail.com
23copyright: 2014 Zalora South East Asia Pte Ltd
27tested-with: GHC >= 7.8
28homepage: http://haskell-servant.github.io/
29Bug-reports: http://github.com/haskell-servant/servant-client/issues
32 location: http://github.com/haskell-servant/servant-client.git
37 Servant.Common.BaseUrl
56 default-language: Haskell2010
60 type: exitcode-stdio-1.0
62 -Wall -fno-warn-name-shadowing -fno-warn-missing-signatures
63 default-language: Haskell2010
78 , servant-server >= 0.2.1
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list