http-monad: Monad abstraction for HTTP allowing lazy transfer and non-I/O simulation

[ bsd3, library, network ] [ Propose Tags ] [ Report a vulnerability ]

This library implements a monad class with various interesting instances:

  • Lazy I/O allows for fetching documents via HTTP on demand

  • Non-I/O allows for testing HTTP communication without any IO action

By using this monad you can implement HTTP communication in a very general way. You may add further functionality by adding custom sub-classes.

We inherit all content data types from the HTTP-4000 package, such as String as well as strict and lazy ByteString.

Flags

Automatic Flags
NameDescriptionDefault
splitbase

Old, monolithic base

Disabled
buildtestserver

build a small server for testing lazy download

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4
Dependencies base (<5), bytestring (>=0.9 && <0.11), containers (>=0.1 && <0.6), explicit-exception (>=0.1.4 && <0.2), HTTP (>=4000 && <4001), httpd-shed (>=0.3 && <0.4), lazyio (>=0.1 && <0.2), network (>=2.1 && <2.7), network-uri (>=2.6 && <2.7), parsec (>=2.1 && <3.2), semigroups (>=0.1 && <1.0), transformers (>=0.2 && <0.6), utility-ht (>=0.0.4 && <0.1) [details]
License BSD-3-Clause
Author Henning Thielemann <http@henning-thielemann.de>
Maintainer Henning Thielemann <http@henning-thielemann.de>
Category Network
Source repo head: darcs get http://code.haskell.org/~thielema/http-monad/
this: darcs get http://code.haskell.org/~thielema/http-monad/ --tag 0.1.1.2
Uploaded by HenningThielemann at 2018-02-16T20:23:51Z
Distributions NixOS:0.1.1.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables infinite-httpd
Downloads 6622 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-02-16 [all 1 reports]