| Safe Haskell | None |
|---|
Ketchup.Httpd
- data HTTPRequest = HTTPRequest {}
- type Headers = [(ByteString, [ByteString])]
- type Handler = Socket → HTTPRequest → IO ()
- listenHTTP ∷ String → PortNumber → Handler → IO ()
Documentation
data HTTPRequest
HTTP Request type This holds a complete HTTP request
Constructors
| HTTPRequest | |
Instances
| Show HTTPRequest |
type Headers = [(ByteString, [ByteString])]
type Handler = Socket → HTTPRequest → IO ()