macro_rules! permanent_redirect {
($url:expr) => { ... };
($url:expr, [ $( ($key:expr, $value:expr) ),* $(,)? ]) => { ... };
}Expand description
Produces HTTP 308 PERMANENT REDIRECT response
ยงExample
use volga::permanent_redirect;
let url = "https://www.rust-lang.org/";
permanent_redirect!(url);