Rdocumentation
powered by
Learn R Programming
jug (version 0.1.2)
get: Function to add GET-binding middleware
Description
The params to this function are slightly different from
post
,
put
and the like due to
get
being a base function.
Usage
get(object, ...)
"get"(object, ...)
Arguments
object
the jug object
...
first argument should be the
path
followed by middelware functions (order matters) to bind to the path (will receive the params
req
,
res
and
err
)
Methods (by class)
Jug
: Function to add GET-binding middleware
See Also
post
,
put
,
delete
,
use
,
ws