mohws-0.2.0.1: Modular Haskell Web ServerSource codeContentsIndex
Network.MoHWS.Server.Context
Contents
ServerContext
MIME types
Logging
Description
Copyright: 2009, Henning Thielemann
Synopsis
data T ext = Cons {
options :: T
config :: T ext
hostName :: HostEntry
mimeTypes :: Dictionary
errorLogger :: Handle
accessLoggers :: [Handle]
}
getMimeType :: T ext -> FilePath -> String
logAccess :: T ext -> T body -> T body -> TimeDiff -> IO ()
ServerContext
data T ext Source
Constructors
Cons
options :: T
config :: T ext
hostName :: HostEntry
mimeTypes :: Dictionary
errorLogger :: Handle
accessLoggers :: [Handle]
show/hide Instances
MIME types
getMimeType :: T ext -> FilePath -> StringSource
Logging
logAccess :: T ext -> T body -> T body -> TimeDiff -> IO ()Source
Produced by Haddock version 2.4.2