#include <webview/redirect_reply.h>
Inheritance diagram for fawkes::WebRedirectReply:
Public Member Functions | |
WebRedirectReply (std::string url) | |
Constructor. |
This reply will cause an immediate redirect from the requested page to the given URL. THe URL can be local as well as remote. The redirect is done on the HTTP level with status code "moved permanently" and the new URL as "Location" HTTP header.
Definition at line 33 of file redirect_reply.h.
fawkes::WebRedirectReply::WebRedirectReply | ( | std::string | url | ) |
Constructor.
url | the URL to redirect to |
Definition at line 42 of file redirect_reply.cpp.
References fawkes::WebReply::add_header().