Object function reference

redirect

A reference entry for redirect

Object function · Response

redirect(string url) ⇒ string

Sets a Location header, changes the response status to 302, and returns an empty string.