Constructor
new Redirect(url, base, silent)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
url |
String | URL | The URL to redirect to. |
base |
URL | The base URL for the redirect. Generally, this is the current URL. Used for resolving relative URLs. |
silent |
Boolean | When set to true, the redirect won't be "counted". It won't show up on the list of visited URLs, nor will it add to the redirect chain count. For special circumstances only. |