3Synopsis: A fast, light-weight web server for WAI applications.
6Author: Michael Snoyman, Kazu Yamamoto, Matt Brown
7Maintainer: michael@snoyman.com
8Homepage: http://github.com/yesodweb/wai
14 The premier WAI handler. For more information, see <http://steve.vinoski.net/blog/2011/05/01/warp-a-haskell-web-server/>.
18 [3.0.0] WAI no longer uses conduit for its streaming interface.
20 [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.
22 [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.
24 [1.3.9] Support for byte range requests.
26 [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.
27extra-source-files: attic/hex
29Flag network-bytestring
33 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
37 Description: print debug output. not suitable for production
41 Build-Depends: base >= 3 && < 5
43 , blaze-builder >= 0.3.3 && < 0.4
44 , bytestring >= 0.9.1.4
45 , case-insensitive >= 0.2
48 , simple-sendfile >= 0.2.7 && < 0.3
53 , streaming-commons >= 0.1.2
54 if flag(network-bytestring)
55 Build-Depends: network >= 2.2.1.5 && < 2.2.3
56 , network-bytestring >= 0.1.3 && < 0.1.4
58 Build-Depends: network >= 2.3
59 Exposed-modules: Network.Wai.Handler.Warp
60 Network.Wai.Handler.Warp.Buffer
61 Network.Wai.Handler.Warp.Timeout
62 Network.Wai.Handler.Warp.Internal
63 Other-modules: Network.Wai.Handler.Warp.Conduit
64 Network.Wai.Handler.Warp.Date
65 Network.Wai.Handler.Warp.FdCache
66 Network.Wai.Handler.Warp.Header
67 Network.Wai.Handler.Warp.IO
68 Network.Wai.Handler.Warp.IORef
69 Network.Wai.Handler.Warp.ReadInt
70 Network.Wai.Handler.Warp.Recv
71 Network.Wai.Handler.Warp.Request
72 Network.Wai.Handler.Warp.RequestHeader
73 Network.Wai.Handler.Warp.Response
74 Network.Wai.Handler.Warp.ResponseHeader
75 Network.Wai.Handler.Warp.Run
76 Network.Wai.Handler.Warp.SendFile
77 Network.Wai.Handler.Warp.Settings
78 Network.Wai.Handler.Warp.Thread
79 Network.Wai.Handler.Warp.Types
80 Network.Wai.Handler.Warp.Windows
85 Cpp-Options: -DWARP_DEBUG
86 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
87 Cpp-Options: -DSENDFILEFD
88 Build-Depends: hashable
89 Other-modules: Network.Wai.Handler.Warp.MultiMap
91 Cpp-Options: -DWINDOWS
99 Type: exitcode-stdio-1.0
101 Ghc-Options: -threaded -Wall
108 Other-modules: ConduitSpec
118 Hs-Source-Dirs: test, .
119 Type: exitcode-stdio-1.0
122 Build-Depends: base >= 4 && < 5
124 , blaze-builder >= 0.3.3 && < 0.4
125 , bytestring >= 0.9.1.4
126 , case-insensitive >= 0.2
129 , http-types >= 0.8.4
131 , simple-sendfile >= 0.2.4 && < 0.3
132 , transformers >= 0.2.2
143 , streaming-commons >= 0.1.1
146 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
147 Cpp-Options: -DSENDFILEFD
152 Cpp-Options: -DWINDOWS
155 Type: exitcode-stdio-1.0
157 HS-Source-Dirs: bench .
165Source-Repository head
167 Location: git://github.com/yesodweb/wai.git
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list