Routers are the core request handler in plumber. A router is responsible for taking an incoming request, submitting it through the appropriate filters and eventually to a corresponding endpoint, if one is found.
plumb(file, dir = ".")plumber
The file to parse as the plumber router definition
The directory containing the plumber.R
file to parse as the
plumber router definition. Alternatively, if an entrypoint.R
file is
found, it will take precedence and be responsible for returning a runnable
Plumber router.
An object of class R6ClassGenerator
of length 24.
See http://www.rplumber.io/docs/programmatic/ for additional details on the methods available on this object.