on master help sign in
doc update.
commit2a03a0d2e6583b3ecdffe0958e4f6c66faa37248 authorKazu Yamamoto <kazu@iij.ad.jp> dateWed 17 Jun 2015, 10:58 (11 years ago) parentcb86f7a
1 file changed+5
warp/Network/Wai/Handler/Warp/Types.hs+5
warp/Network/Wai/Handler/Warp/Types.hs+5
@@ -79,8 +79,13 @@ data FileId = FileId {
7979-- | fileid, offset, length, hook action, HTTP headers
8080type SendFile = FileId -> Integer -> Integer -> IO () -> [ByteString] -> IO ()
8181
82+-- | Type for read buffer pool
8283type BufferPool = IORef ByteString
84+
85+-- | Type for buffer
8386type Buffer = Ptr Word8
87+
88+-- | Type for buffer size
8489type BufSize = Int
8590
8691-- | Data type to manipulate IO actions for connections.