Learn R Programming

jug (version 0.1.7)

use: Function to add request method insensitive middleware

Description

Function to add request method insensitive middleware

Usage

use(jug, path, ..., method = NULL)

Arguments

jug
the jug object
path
the path to bind to
...
functions (order matters) to bind to the path (will receive the params req, res and err)
method
the method to bind to, defauts to NULL

See Also

post, put, delete, get, ws