BaseFetchInterception
open class BaseFetchInterception(tab: Tab, val urlPattern: String, val requestStage: <Error class: unknown class>, val resourceType: <Error class: unknown class>) : FetchInterception
Default implementation of FetchInterception.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun continueResponse(responseCode: Int?, responsePhrase: String?, responseHeaders: List<<Error class: unknown class>>?, binaryResponseHeaders: String?)
Continues loading of the paused response, optionally modifying the response headers. If either responseCode or headers are modified, all of them must be present.
Link copied to clipboard
Causes the request to fail with specified reason.
Link copied to clipboard
Link copied to clipboard
Fetches the raw response body once it has been received.
Link copied to clipboard
Returns the request once it has been received.
Link copied to clipboard
Returns the request event once it has been received.
Link copied to clipboard
Fetches the response body once it has been received.