Initial Release

This commit is contained in:
h4ckf0r0day committed 2026-04-13 12:30:28 +02:00
1 parent 2e5d63cc35
commit 8749725b45
52 files changed
+19804

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
use std::collections::HashMap;
use crate::client::{RequestInfo, Response};
pub enum InterceptAction {
Continue,
Block,
Fulfill(Response),
ModifyHeaders(HashMap<String, String>),
}
#[async_trait::async_trait]
pub trait RequestInterceptor {
async fn intercept(&self, request: &RequestInfo) -> InterceptAction;
}