class Crystal::Playground::PathStaticFileHandler inherits HTTP::StaticFileHandler ¶ Class methods¶ .new(path : String, public_dir : String, fallthrough = true) ¶ View source Methods¶ #call(context) ¶ View source #request_path(path : String) : String ¶ given a full path of the request, returns the path of the file that should be expanded at the public_dir View source