class
Runcobo::StaticFiles
- Runcobo::StaticFiles
- HTTP::StaticFileHandler
- Reference
- Object
Overview
Mount a public directory before the action router.
Defined in:
runcobo/handlers/static_files.crConstructors
Instance Method Summary
Constructor Detail
def self.new(prefix : String, *, directory : String, cache_control : String | Nil = nil)
#