use: Function to add request method insensitive middleware

Description Usage Arguments See Also

View source: R/middleware_core.R

Description

Function to add request method insensitive middleware

Usage

1
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


Bart6114/jug documentation built on May 5, 2019, 10:26 a.m.