@@ -5,17 +5,7 @@ description:
55 This library lets you derive automatically Haskell functions that
66 let you query each endpoint of a <http://hackage.haskell.org/package/servant servant> webservice.
77 .
8− Example below.
9− .
10− > type MyApi = "books" :> Get [Book] -- GET /books
11− > :<|> "books" :> ReqBody Book :> Post Book -- POST /books
12− >
13− > myApi :: Proxy MyApi
14− > myApi = Proxy
15− >
16− > getAllBooks :: BaseUrl -> EitherT String IO [Book]
17− > postNewBook :: Book -> BaseUrl -> EitherT String IO Book
18− > (getAllBooks :<|> postNewBook) = client myApi
8+ See <http://haskell-servant.github.io/tutorial/client.html the client section of the tutorial>.
199 .
2010 <https://github.com/haskell-servant/servant/blob/master/servant-client/CHANGELOG.md CHANGELOG>
2111license: BSD3