Modulehttpd-shed-0.4.1.2Haskell2010
Network.Shed.Httpd
A trivial web server.
This web server promotes a Request to IO Response function into a local web server. The user can decide how to interpret the requests, and the library is intended for implementing Ajax APIs.
initServerLazy (and assocated refactorings), and Chunking support was written by Henning Thielemann. Handling of POST-based payloads was been written by Brandon Moore. initServerBind support was written by John Van Enk.
- 3 types
- 8 values
- Packagehttpd-shed-0.4.1.2
- Exports11
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceHttpd.hs
initServer This server transfers documents as one parcel, using the content-length header.
initServerLazy This server transfers documents in chunked mode and without content-length header. This way you can ship infinitely big documents. It inserts the transfer encoding header for you. The server binds to all interfaces
initServerBind This server transfers documents as one parcel, using the content-length header, and takes an additional
initServerLazyBind This server transfers documents in chunked mode and without content-length header. This way you can ship infinitely big documents. It inserts the transfer encoding header for you. The server binds to the specified address.
Takes an escaped query, optionally starting with ?, and returns an unescaped index-value list.