request 0.2.0.0 → 0.2.1.0
raw patch · 3 files changed
+11/−10 lines, 3 files
Files
- README.md +8/−0
- request.cabal +1/−1
- src/Network/HTTP/Request.hs +2/−9
README.md view
@@ -4,6 +4,10 @@ HTTP client for haskell, inpired by [requests](https://requests.readthedocs.io/) and [http-dispatch](https://github.com/owainlewis/http-dispatch). +## Installation++This pacakge is published on [hackage](http://hackage.haskell.org/package/request) with the same name `request`, you can install it with cabal or stack or nix as any other hackage packages.+ ## Usage You can try this in haskell REPL once you have `request` installed:@@ -90,6 +94,10 @@ ``` These shortcuts' definitions are simple and direct. You are encouraged to add your own if the built-in does not match your use cases, like add custom headers in every request.++## API Documents++See the hackage page: http://hackage.haskell.org/package/request/docs/Network-HTTP-Request.html ## About the Project
request.cabal view
@@ -1,5 +1,5 @@ name: request-version: 0.2.0.0+version: 0.2.1.0 -- synopsis: description: "HTTP client for haskell, inpired by requests and http-dispatch." homepage: https://github.com/aisk/request#readme
src/Network/HTTP/Request.hs view
@@ -5,18 +5,11 @@ ( Header , Headers , Method (..)- , Request- , Response+ , Request (..)+ , Response (..) , get , post , put- , requestBody- , requestHeaders- , requestMethod- , requestUrl- , responseBody- , responseHeaders- , responseStatus , send ) where