forward | R Documentation |
This function is used when a filter is done processing a request and wishes
to pass control off to the next handler in the chain. If this is not called
by a filter, the assumption is that the filter fully handled the request
itself and no other filters or endpoints should be evaluated for this
request. forward()
cannot be used within handlers to trigger the next
matching handler in the router. It only has relevance for filters.
forward()
## Not run:
pr() %>%
pr_filter("foo", function(req, res) {
print("This is filter foo")
forward()
}) %>%
pr_run()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.