redirectionio 3.1.0

Redirection IO Library to handle matching rule, redirect and filtering headers and body.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Peer {
    pub address: String,
    pub sni_host: Option<String>,
    pub request_host: Option<String>,
    pub allow_invalid_certificates: bool,
    pub tls: bool,
}