redirect: Create a redirect response

View source: R/redirect.R

redirectR 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 301 or 302).

Examples

servr::redirect("https://www.r-project.org")

servr documentation built on Oct. 5, 2024, 1:06 a.m.

Related to redirect in servr...