intercept

abstract suspend fun intercept(request: WebResourceRequest, url: Uri, webView: WebView): WebResourceResponse?

Notify Duck Player of a resource request and allow Duck Player to return the data.

If the return value is null, it means Duck Player won't add any response data. Otherwise, the return response and data will be used.