soth-mitm 0.3.2

Rust intercepting proxy crate with deterministic handler/event contracts for SOTH.
Documentation
1
2
3
4
5
6
7
8
use bytes::Bytes;

/// Decision returned by [`InterceptHandler::on_request`](crate::InterceptHandler::on_request).
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum HandlerDecision {
    Allow,
    Block { status: u16, body: Bytes },
}