| Safe Haskell | None |
|---|
Ketchup.Static
- static :: ByteString -> Socket -> HTTPRequest -> Map ByteString ByteString -> IO ()
Documentation
Arguments
| :: ByteString | Path to serve static files from |
| -> Socket | |
| -> HTTPRequest | |
| -> Map ByteString ByteString | |
| -> IO () |
Static file handler Takes a directory and returns a route