| Safe Haskell | Unsafe |
|---|
Hails.IterIO.HailsRoute
Documentation
Arguments
| :: LabelState l p st | |
| => (String -> ByteString) | Map of file suffixes to mime types (see |
| -> (FilePath -> HttpRoute (LIO l p st) s) | Handler to invoke when the URL maps to a directory in the file system. Reasonable options include: |
| -> FilePath | Pathname of directory to serve from file system |
| -> HttpRoute (LIO l p st) s |