Redirect-class: Class 'Redirect'

Description Methods See Also

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.


jeffreyhorner/Rook documentation built on May 19, 2019, 4:01 a.m.