acme-http-0.1.1: 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 

Fields

rsCode :: !Int
 
rsBody :: !ByteString
 

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