Safe Haskell | None |
---|
Documentation
uri :: HTTPRequest -> ByteStringSource
headers :: HTTPRequest -> Map ByteString [ByteString]Source
statusMsg :: Int -> ByteStringSource
sendReply :: Socket -> Int -> [(ByteString, [ByteString])] -> ByteString -> IO ()Source
listenHTTP :: String -> PortNumber -> (Socket -> HTTPRequest -> IO ()) -> IO ()Source
sendBadRequest :: Socket -> IO ()Source
sendNotFound :: Socket -> IO ()Source