acme-http-0.2.0: fastest Haskell PONG server in the world

Safe HaskellSafe-Infered

Acme.Types

Synopsis

Documentation

data Response Source

Constructors

PongResponse

return PONG in the request body

ByteStringResponse 

Instances

data ConnectionClosed Source

thrown when the remote-side closes the connection

Constructors

ConnectionClosed 

fieldSource

Arguments

:: String

field name

-> Doc

field value

-> Doc 

render, field = value

ppHeader :: (ByteString, ByteString) -> DocSource

pretty-print an HTTP header