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

[ bsd3, library, network ] [ Propose Tags ]

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.10), containers (>=0.1 && <0.3), explicit-exception (>=0.1 && <0.2), HTTP (>=4000 && <4001), httpd-shed (>=0.3 && <0.4), lazyio (>=0.0.2 && <0.1), network (>=2.1 && <3), parsec (>=2.1 && <3), transformers (>=0.0.1 && <0.2), utility-ht (>=0.0.4 && <0.1) [details]
License BSD-3-Clause
Copyright (c) 2009, Henning Thielemann
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.0.1
Uploaded by HenningThielemann at 2009-04-06T00:30:35Z
Distributions NixOS:0.1.1.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables infinite-httpd
Downloads 6482 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]