redirectionio 2.5.2

Redirection IO Library to handle matching rule, redirect and filtering headers and body.
1
2
3
4
5
6
7
8
9
10
use crate::router::Transform;

#[derive(Default)]
pub struct Uppercase;

impl Transform for Uppercase {
    fn transform(&self, str: String) -> String {
        str.to_uppercase()
    }
}