The params to this function are slightly different from post, put and the like due to get being a base function.

get(object, ...)

# S3 method for Jug
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