Redirect-class: Class 'Redirect'

Redirect-classR Documentation

Class Redirect

Description

A Rook application whose only role is to return an HTTP redirect header to the given url.

Methods

new(url):

Returns a Rook object. url is a character string whose value is a full or relative url to which the browser is redirected.

See Also

See Brewery for an example.


Rook documentation built on Nov. 10, 2022, 6:13 p.m.