$darkmode
#include <handler.hpp>
Public Member Functions | |
| Redirect (const std::string &location) | |
| void | operator() (const cloe::Request &, cloe::Response &r) |
The Redirect handler redirects to the location it is created with.
Note: This is not a permanent redirect, it approximately sends the following response:
302 Found Location /your/location/here