Static-class function

Class Static

Class Static

A Middleware class for serving static files from a root directory given a set of url paths. 1.1

class

See Also

See Builder for an example.

Methods

  • new(urls, root):: Creates a new object. urls is a character vector whose elements must start with a '/'. root is a length 1 character vector whose value must be a valid directory.
  • Maintainer: Evan Biederstedt
  • License: GPL-2
  • Last published: 2022-11-07