![]() |
Home · Modules · Classes · Namespaces · Functions |
The QxtWebRedirectEvent class describes a redirect event to be sent to a web browser More...
#include <QxtWebRedirectEvent>
Inherits QxtWebPageEvent.
The QxtWebRedirectEvent class describes a redirect event to be sent to a web browser
The QxtWebRedirectEvent class instructs the web browser to load a page found at another location.
The default status code, 302, indicates that the requested page was found at a different location. Other useful status codes are 301, which indicates that the web browser should always use the new URL in place of the old one, and (in HTTP/1.1) 307, which indicates that the web browser should reissue the same request (including POST data) to the new URL.
Constructs a QxtWebRedirectEvent for the specified sessionID and requestID that instructs the browser to move to the specified destination URL with statusCode.
Contains the new location (absolute or relative) to which the browser should redirect.
Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |