setRequestInterception

suspend fun setRequestInterception(args: Network.SetRequestInterceptionParameter, mode: CommandMode = CommandMode.DEFAULT)

Deprecated

Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.


Deprecated

Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.

Parameters

patterns

Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.