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 [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.
20 [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.
22 [1.3.9] Support for byte range requests.
24 [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.
25extra-source-files: attic/hex
27Flag network-bytestring
31 Description: Allow use of sendfileFd (not available on GNU/kFreeBSD)
35 Build-Depends: base >= 3 && < 5
37 , blaze-builder >= 0.3.3 && < 0.4
38 , blaze-builder-conduit >= 0.5 && < 1.1
39 , bytestring >= 0.9.1.4
40 , case-insensitive >= 0.2
41 , conduit >= 0.5 && < 1.1
45 , network-conduit >= 0.5 && < 1.1
46 , simple-sendfile >= 0.2.7 && < 0.3
47 , transformers >= 0.2.2 && < 0.4
51 if flag(network-bytestring)
52 Build-Depends: network >= 2.2.1.5 && < 2.2.3
53 , network-bytestring >= 0.1.3 && < 0.1.4
55 Build-Depends: network >= 2.3
56 Exposed-modules: Network.Wai.Handler.Warp
57 Network.Wai.Handler.Warp.Buffer
58 Network.Wai.Handler.Warp.Timeout
59 Network.Wai.Handler.Warp.Internal
60 Other-modules: Network.Wai.Handler.Warp.Conduit
61 Network.Wai.Handler.Warp.Date
62 Network.Wai.Handler.Warp.FdCache
63 Network.Wai.Handler.Warp.Header
64 Network.Wai.Handler.Warp.IO
65 Network.Wai.Handler.Warp.IORef
66 Network.Wai.Handler.Warp.ReadInt
67 Network.Wai.Handler.Warp.Recv
68 Network.Wai.Handler.Warp.Request
69 Network.Wai.Handler.Warp.RequestHeader
70 Network.Wai.Handler.Warp.Response
71 Network.Wai.Handler.Warp.ResponseHeader
72 Network.Wai.Handler.Warp.Run
73 Network.Wai.Handler.Warp.SendFile
74 Network.Wai.Handler.Warp.Settings
75 Network.Wai.Handler.Warp.Thread
76 Network.Wai.Handler.Warp.Types
79 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
80 Cpp-Options: -DSENDFILEFD
81 Build-Depends: hashable
82 Other-modules: Network.Wai.Handler.Warp.MultiMap
84 Cpp-Options: -DWINDOWS
92 Type: exitcode-stdio-1.0
94 Ghc-Options: -threaded -Wall
101 Other-modules: ConduitSpec
111 Hs-Source-Dirs: test, .
112 Type: exitcode-stdio-1.0
115 Build-Depends: base >= 4 && < 5
117 , blaze-builder >= 0.3.3 && < 0.4
118 , blaze-builder-conduit >= 0.5
119 , bytestring >= 0.9.1.4
120 , case-insensitive >= 0.2
127 , simple-sendfile >= 0.2.4 && < 0.3
128 , transformers >= 0.2.2 && < 0.4
139 if (os(linux) || os(freebsd) || os(darwin)) && flag(allow-sendfilefd)
140 Cpp-Options: -DSENDFILEFD
145 Cpp-Options: -DWINDOWS
148 Type: exitcode-stdio-1.0
150 HS-Source-Dirs: bench .
157Source-Repository head
159 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