| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Ketchup.Chunked
- chunkHeaders :: Socket -> Int -> [(ByteString, [ByteString])] -> IO ()
- chunk :: Socket -> ByteString -> IO ()
- endchunk :: Socket -> IO ()
Documentation
Arguments
| :: Socket | Socket to write to |
| -> Int | Status code |
| -> [(ByteString, [ByteString])] | Headers |
| -> IO () |
Send HTTP reply headers and begin a Chunked transmission
Arguments
| :: Socket | Socket to write to |
| -> ByteString | Content to write |
| -> IO () |
Sends a chunk