resolveUsingWebView

suspend fun resolveUsingWebView(url: String, referer: String? = null, method: String = "GET", requestCallBack: (Request) -> Boolean = { false }): Pair<Request?, List<Request>>(source)


suspend fun resolveUsingWebView(request: Request, requestCallBack: (Request) -> Boolean = { false }): Pair<Request?, List<Request>>(source)

Return

the final request (by interceptUrl) and all the collected urls (by additionalUrls).

Parameters

requestCallBack

asynchronously return matched requests by either interceptUrl or additionalUrls. If true, destroy WebView.