[][src]Function third_wheel::start_mitm

pub async fn start_mitm<T>(port: u16, mitm: T) -> Result<(), Box<dyn Error>> where
    T: MitmLayer + Sync + Send + 'static + Clone

Run a man-in-the-middle TLS proxy

  • port - port to accept requests from clients
  • mitm - A MitmLayer to capture and/or modify requests and responses