| Static-class {Rook} | R Documentation |
Class Static
Description
A Middleware class for serving static files from a root directory given a set of url paths.
Methods
new(urls, root):Creates a new object.
urlsis a character vector whose elements must start with a'/'.rootis a length 1 character vector whose value must be a valid directory.
See Also
See Builder for an example.
[Package Rook version 1.2 Index]