Redirect


Description:

public Redirect (string url, int code = 0)

Create a Redirect view, to the URL provided. A status code may be provided, but defaults to a 302.

Parameters:

url Full or partial URL to redirect to.
code Optional status code to provide to the browser.