pub type BreakpointRequestHandler = Box<dyn Fn(Value) -> Option<Value> + Send + Sync>;Expand description
Handler for REQUEST phase breakpoints. Receives the parsed request JSON. Return a Value that is either:
- An HttpRequest JSON object (continue/modify), or
- An HttpResponse JSON object with a “statusCode” field (abort).
Return None to auto-continue with the original request.
Aliased Type§
pub struct BreakpointRequestHandler(/* private fields */);