redirect {servr} | R Documentation |
Create a redirect response
Description
Create a response to redirect to a destination.
Usage
redirect(dest, status = 301L)
Arguments
dest |
A destination path. |
status |
The status code (usually |
Examples
servr::redirect("https://www.r-project.org")
[Package servr version 0.30 Index]