Ketchup-0.2.2: A super small web framework for those who don't like big and fancy codebases

Safe HaskellNone

Ketchup.Static

Synopsis

Documentation

staticSource

Arguments

:: ByteString

Path to serve static files from

-> Socket 
-> HTTPRequest 
-> Map ByteString ByteString 
-> IO () 

Static file handler Takes a directory and returns a route