method

match?

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: FileHandler
match?(path) public

Takes a path to a file. If the file is found, has valid encoding, and has correct read permissions, the return value is a URI-escaped string representing the filename. Otherwise, false is returned.

Used by the `Static` class to check the existence of a valid file in the server’s `public/` directory (see Static#call).

Show source
Register or log in to add new notes.