doc update.
commitfc6dcbe1cc9c574d4a9b004a2170b9d78961cce3
authorKazu Yamamoto <kazu@iij.ad.jp>
dateFri 11 Oct 2013, 14:05 (13 years ago)
parent1d71cc5
warp/Network/Wai/Handler/Warp.hs+3−2
@@ -39,8 +39,10 @@ module Network.Wai.Handler.Warp (
3939 -- ** Data types
4040 , HostPreference (..)
4141 , Port
42− , Connection (..)
4342 , InvalidRequest (..)
43+ -- ** Connection
44+ , Connection (..)
45+ , socketConnection
4446 -- * Internal
4547 -- ** Time out manager
4648 , module Network.Wai.Handler.Warp.Timeout
@@ -50,7 +52,6 @@ module Network.Wai.Handler.Warp (
5052 -- ** Request and response
5153 , parseRequest
5254 , sendResponse
53− , socketConnection
5455#if TEST
5556 , takeHeaders
5657 , parseFirst
warp/Network/Wai/Handler/Warp/Run.hs+1−1
@@ -46,7 +46,7 @@ import qualified Network.Wai.Handler.Warp.FdCache as F
4646bytesPerRead :: Int
4747bytesPerRead = 4096
4848
49−-- | Default action value for 'Connection'
49+-- | Default action value for 'Connection'.
5050socketConnection :: Socket -> IO Connection
5151socketConnection s = do
5252 buf <- allocateRecvBuffer bytesPerRead