Safe Haskell | None |
---|
- data BasicConfig = BasicConfig {}
- defaultConfig :: BasicConfig
- data Path
- data CGI = CGI {
- progPath :: FilePath
- scriptName :: String
- pathInfo :: String
- queryString :: String
- defaultInfo :: FilePath -> IO (Maybe (Integer, UTCTime))
- defaultObtain :: FilePath -> Maybe (Integer, Integer) -> IO ByteString
Documentation
data BasicConfig Source
The configuration for the basic web server.
BasicConfig | |
|
defaultConfig :: BasicConfigSource
Default BasicConfig
, with obtain
, info
, and serverName
filled in.
It is necessary to override the mapper
and tcpInfo
fields
Control information of how to handle URI
.
Internal information of CGI converted from URI
.
CGI | |
|
defaultInfo :: FilePath -> IO (Maybe (Integer, UTCTime))Source
Get the size and modification time of a file, if possible.
defaultObtain :: FilePath -> Maybe (Integer, Integer) -> IO ByteStringSource
Obtain a data slice from a file as a lazy bytestring.