Safe Haskell | None |
---|
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