The warp package

[Tags:benchmark, library, mit, test]

The premier WAI handler. For more information, see http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/.

Changelog

3.0.0
WAI no longer uses conduit for its streaming interface.
2.1.0
The onOpen and onClose settings now provide the SockAddr of the client, and onOpen can return a Bool which will close the connection. The responseRaw response has been added, which provides a more elegant way to handle WebSockets than the previous settingsIntercept. The old settings accessors have been deprecated in favor of new setters, which will allow settings changes to be made in the future without breaking backwards compatibility.
2.0.0
ResourceT is not used anymore. Request and Response is now abstract data types. To use their constructors, Internal module should be imported.
1.3.9
Support for byte range requests.
1.3.7
Sockets now have FD_CLOEXEC set on them. This behavior is more secure, and the change should not affect the vast majority of use cases. However, it appeared that this is buggy and is fixed in 2.0.0.

Properties

Versions 0.3.0, 0.3.1, 0.3.2, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.3, 0.4.0, 0.4.0.1, 0.4.1, 0.4.1.1, 0.4.1.2, 0.4.2, 0.4.3, 0.4.3.1, 0.4.4, 0.4.5, 0.4.6, 0.4.6.1, 0.4.6.2, 0.4.6.3, 1.0.0, 1.0.0.1, 1.1.0, 1.1.0.1, 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.1, 1.2.1.1, 1.2.2, 1.3.0, 1.3.0.1, 1.3.1, 1.3.1.1, 1.3.1.2, 1.3.2, 1.3.3, 1.3.3.1, 1.3.3.2, 1.3.3.3, 1.3.4, 1.3.4.1, 1.3.4.2, 1.3.4.3, 1.3.4.4, 1.3.5, 1.3.5.1, 1.3.6, 1.3.7, 1.3.7.1, 1.3.7.2, 1.3.7.3, 1.3.7.4, 1.3.7.5, 1.3.8, 1.3.8.1, 1.3.8.2, 1.3.8.3, 1.3.8.4, 1.3.9, 1.3.9.1, 1.3.9.2, 1.3.10, 1.3.10.1, 1.3.10.2, 2.0.0, 2.0.0.1, 2.0.1, 2.0.2, 2.0.2.1, 2.0.3, 2.0.3.1, 2.0.3.2, 2.0.3.3, 2.0.3.4, 2.1.0, 2.1.1, 2.1.1.1, 2.1.1.2, 2.1.2, 2.1.2.1, 2.1.3, 2.1.3.1, 2.1.3.2, 2.1.3.3, 2.1.4, 2.1.4.1, 2.1.5, 2.1.5.1, 2.1.5.2, 3.0.0, 3.0.0.1, 3.0.0.2, 3.0.0.3, 3.0.0.4, 3.0.0.5, 3.0.0.6, 3.0.0.7, 3.0.0.8, 3.0.1, 3.0.1.1, 3.0.2, 3.0.2.1, 3.0.2.2, 3.0.2.3, 3.0.3, 3.0.4, 3.0.4.1, 3.0.5, 3.0.5.1, 3.0.5.2, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.9.1, 3.0.9.2, 3.0.9.3, 3.0.10, 3.0.10.1, 3.0.11, 3.0.12, 3.0.12.1, 3.0.13, 3.0.13.1, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.3.1, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9 (info)
Dependencies array, auto-update (>=0.1.1 && <0.2), base (>=4.6 && <4.8), blaze-builder (>=0.3.3 && <0.4), bytestring (>=0.9.1.4), case-insensitive (>=0.2), ghc-prim, hashable, http-date, http-types (>=0.8.5), network (>=2.2.1.5 && <2.2.3 || >=2.3), network-bytestring (==0.1.3.*), old-locale, simple-sendfile (>=0.2.7 && <0.3), streaming-commons (>=0.1.2), text, time, unix, unix-compat (>=0.2), void, wai (==3.0.*) [details]
License MIT
Author Michael Snoyman, Kazu Yamamoto, Matt Brown
Maintainer michael@snoyman.com
Stability Stable
Category Web, Yesod
Home page http://github.com/yesodweb/wai
Source repository head: git clone git://github.com/yesodweb/wai.git
Uploaded Mon Aug 18 08:34:33 UTC 2014 by MichaelSnoyman
Updated Fri Jul 10 23:17:20 UTC 2015 by AdamBergmark to revision 2
Distributions Arch:3.2.9, Debian:3.1.12, Fedora:3.0.13.1, FreeBSD:3.1.3, LTSHaskell:3.2.9, NixOS:3.2.9, Stackage:3.2.9, Tumbleweed:3.2.9
Downloads 105812 total (1530 in the last 30 days)
Votes
4 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
network-bytestringDisabledAutomatic
allow-sendfilefdAllow use of sendfileFd (not available on GNU/kFreeBSD)EnabledAutomatic
warp-debugprint debug output. not suitable for productionDisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees