NetworkCaptureGate

fun interface NetworkCaptureGate

Consulted before a transaction is queued for capture, so an excluded request is never redacted, serialized, persisted, or exported. Implementations must be cheap and side-effect free: they run on the caller's (host application) thread.

Functions

Link copied to clipboard
abstract fun allowsCapture(method: String, url: String): Boolean