pub fn get_redirection<'a>(
uri_host: &'a str,
uri_path: &'a str,
redirects_opts: Option<&'a [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.