WebRedirectReply Class Reference

Redirect reply for webview. More...

#include <redirect_reply.h>

Inheritance diagram for WebRedirectReply:

List of all members.


Public Member Functions

 WebRedirectReply (std::string url)
 Constructor.

Detailed Description

Redirect reply for webview.

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.

Author:
Tim Niemueller

Definition at line 28 of file redirect_reply.h.


Constructor & Destructor Documentation

WebRedirectReply::WebRedirectReply ( std::string  url  ) 

Constructor.

Parameters:
url the URL to redirect to

Definition at line 37 of file redirect_reply.cpp.

References WebReply::add_header().


The documentation for this class was generated from the following files: