route() route(string $route, string $callback) Set a route Parameters string $route The route path string $callback Function to handle the route
dispatch() dispatch() : boolean Dispatch all routes and send response. All routes are ran and if there is content, a response is sent. If it's a request to a native file, FALSE is returned. Returns boolean — Whether a route is set to handle this request
getServeFileAbsolutePath() getServeFileAbsolutePath(string $path) : boolean Make HTTP requested path to absolute location Parameters string $path Requested file path Returns boolean — Whether the request points to a valid file