salvia-1.0.0: Modular web application framework.

Network.Salvia.Impl.Config

Synopsis

Documentation

data Config Source

The HTTP server configuration contains some network settings the server needs know before being able to run.

Constructors

Config 

Fields

hostname :: String

Server hostname.

adminMail :: String

Server admin email address.

listenOn :: [SockAddr]

Address port combinations to listen on.

backlog :: Int

TCP backlog.

defaultConfig :: ConfigSource

The default server configuration sets some safe default values. The server will by default bind to 0.0.0.0 (iNADDR_ANY) at port 8080. The default value for the TCP backlog is 64.