pl.wendigo.chrome.api.network / SetRequestInterceptionRequest

SetRequestInterceptionRequest

data class SetRequestInterceptionRequest (source)

Represents request frame that can be used with Network#setRequestInterception operation call.

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

Link
Network#setRequestInterception method documentation.

See Also

NetworkOperations.setRequestInterception

Constructors

<init>

SetRequestInterceptionRequest(patterns: List<RequestPattern>)

Represents request frame that can be used with Network#setRequestInterception operation call.

Properties

patterns

val patterns: List<RequestPattern>

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