pub fn get_redirection<'a>(
    uri_path: &'a str,
    redirects_opts_vec: &'a Option<Vec<Redirects>>
) -> Option<&'a Redirects>
Expand description

It returns a redirect’s destination path and status code if the current request uri matches against the provided redirect’s array.