forward: Forward Method

View source: R/forward.R

forwardR Documentation

Forward Method

Description

Makes it such that the web server skips this method and uses the next one in line instead.

Usage

forward()

Value

An object of class forward.

Examples

app <- Ambiorix$new()

app$get("/next", function(req, res){
 forward()
})

app$get("/next", function(req, res){
 res$send("Hello")
})

if(interactive())
 app$start()


devOpifex/ambiorix documentation built on Oct. 15, 2024, 10:21 p.m.