warp: A fast, light-weight web server for WAI applications.
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
andonClose
settings now provide theSockAddr
of the client, andonOpen
can return aBool
which will close the connection. TheresponseRaw
response has been added, which provides a more elegant way to handle WebSockets than the previoussettingsIntercept
. 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.
Modules
[Index]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
network-bytestring | Disabled | |
allow-sendfilefd | Allow use of sendfileFd (not available on GNU/kFreeBSD) | Enabled |
warp-debug | print debug output. not suitable for production | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- warp-3.0.1.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates