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