moduleNetwork.Web.Server.ParamswhereimportqualifiedData.ByteString.Char8asSimportqualifiedData.ByteString.Lazy.Char8asLimportData.TimeimportNetwork.TCPInfoimportNetwork.Web.URI{-|
The configuration for the basic web server.
-}dataBasicConfig=BasicConfig{-- | A mapper from 'URI' to 'Path'.mapper::URI->Path-- | Resource obtaining function. The second argument is-- (offset of the resource, and length from the offset).,obtain::FilePath->Maybe(Integer,Integer)->IOL.ByteString-- | A function to return the size of the resource and-- its modification time if exists.,info::FilePath->IO(Maybe(Integer,UTCTime))-- | A server name specified the Server: field.,serverName::S.ByteString-- | 'TCPInfo' for passing CGI. (See c10k library.),tcpInfo::TCPInfo}{-|
Control information of how to handle 'URI'.
-}dataPath=-- | 'URI' cannot be converted into any resources.None-- | 'URI' is converted into a resource (typically a file).|FileFilePath-- | 'URI' is converted into CGI.|CGIFilePathURLParameterScriptNamederiving(Eq,Show){-|
A type for URL parameter.
-}typeURLParameter=String{-|
A type for script name.
-}typeScriptName=String