dormouse-client: Simple, type-safe and testable HTTP client
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
An HTTP client designed to be productive, easy to use, easy to test, flexible and safe!
It was designed with the following objectives in mind:
HTTP requests and responses should be modelled by a simple, immutable Haskell Record.
Actual HTTP calls should be made via an abstraction layer (
MonadDormouseClient
) so testing and mocking is painless.Illegal requests should be unrepresentable, such as HTTP GET requests with a content body.
It should be possible to enforce a protocol (e.g. https) at the type level.
It should be possible to handle large request and response bodies via constant memory streaming.
Please see https://dormouse.io for full documentation.
[Skip to Readme]
Properties
Versions | 0.1.0.0, 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.1.0, 0.3.0.0 |
---|---|
Change log | ChangeLog.md |
Dependencies | aeson (>=1.4.2 && <2.0.0), attoparsec (>=0.13.2.4 && <0.14), base (>=4.7 && <5), bytestring (>=0.10.8 && <0.11.0), case-insensitive (>=1.2.1.0 && <2.0.0), containers (>=0.6.2.1 && <0.7), dormouse-uri, http-api-data (>=0.4.1.1 && <0.5), http-client (>=0.6.4.1 && <0.7.0), http-client-tls (>=0.3.5.3 && <0.4), http-types (>=0.12.3 && <0.13), mtl (>=2.2.2 && <3), safe-exceptions (>=0.1.7 && <0.2.0), streamly (>=0.7.2 && <0.8), streamly-bytestring (>=0.1.2 && <0.2), template-haskell (>=2.15.0 && <3.0.0), text (>=1.2.3 && <2.0.0) [details] |
License | BSD-3-Clause |
Copyright | 2020-2021 Phil Curzon |
Author | Phil Curzon |
Maintainer | phil@novelfs.org |
Category | Web |
Home page | https://dormouse.io/client.html |
Bug tracker | https://github.com/theinnerlight/dormouse/issues |
Source repo | head: git clone https://github.com/theinnerlight/dormouse |
Uploaded | by philcurzon at 2021-02-06T03:11:08Z |
Modules
- Dormouse
- Dormouse.Client
- Dormouse.Client.Headers
- Dormouse.Client.Headers.MediaType
- Dormouse.Client.MonadIOImpl
- Dormouse.Client.Status
- Test
- Dormouse.Client.Test.Class
- Dormouse.Client.Headers
- Dormouse.Client
Downloads
- dormouse-client-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees