http-listen-0.1.0.0: http-listen.cabal
name: http-listen
version: 0.1.0.0
synopsis: Listen to HTTP requests and handle them in arbitrary ways.
description:
In HTTP connections, there is a client side which sends requests (such as GET
and POST), and a server side which receives and parses them. Often, the
server side is a web server which responds to requests by sending some HTML
pages back. But sometimes it's just a listener.
.
For example, a Git server may offer web hooks. It could send a POST request
whenever a commit is made, or a new repository is created. You then set up a
program that listens to these POSTs and reacts by reporting them to the
project's IRC channel or a mailing list.
.
Most HTTP packages assume a typical web server which handles requests by
returning HTTP responses. This package tries to fill a gap by providing an
API for simple listeners which don't necessarily serve web pages, and can do
things like reporting to IRC.
.
Some features are missing and will be added soon:
.
* Connection timeouts
* Logging (currently errors are written to stdout, no other logging done)
homepage: http://rel4tion.org/projects/http-listen/
bug-reports: http://rel4tion.org/projects/http-listen/tickets/
license: PublicDomain
license-file: COPYING
author: fr33domlover
maintainer: fr33domlover@riseup.net
copyright: ♡ Copying is an act of love. Please copy, reuse and share.
category: Network, Web
build-type: Simple
extra-source-files: AUTHORS ChangeLog COPYING INSTALL NEWS README.md
cabal-version: >=1.10
source-repository head
type: darcs
location: http://dev.rel4tion.org/fr33domlover/http-listen
library
exposed-modules: Network.HTTP.Listen
-- other-modules:
-- other-extensions:
build-depends: base >=4.7 && <5
, bytestring
, exceptions >=0.8
--, fast-logger >=2.4
, HTTP >=4000.2
, network
, transformers >=0.4.1
hs-source-dirs: src
default-language: Haskell2010