resolveUsingWebView
actual suspend fun resolveUsingWebView(url: String, referer: String?, method: String, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)
actual suspend fun resolveUsingWebView(url: String, referer: String?, headers: Map<String, String>, method: String, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)
actual suspend fun resolveUsingWebView(request: Request, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)
expect suspend fun resolveUsingWebView(url: String, referer: String? = null, method: String = "GET", requestCallBack: (ERROR CLASS: Symbol not found for Request) -> Boolean = { false }): ERROR CLASS: Symbol not found for Pair<ERROR CLASS: Symbol not found for Request?, kotlin/collections/List<ERROR CLASS: Symbol not found for Request>>(source)
expect suspend fun resolveUsingWebView(url: String, referer: String? = null, headers: Map<String, String> = emptyMap(), method: String = "GET", requestCallBack: (ERROR CLASS: Symbol not found for Request) -> Boolean = { false }): ERROR CLASS: Symbol not found for Pair<ERROR CLASS: Symbol not found for Request?, kotlin/collections/List<ERROR CLASS: Symbol not found for Request>>(source)
expect suspend fun resolveUsingWebView(request: ERROR CLASS: Symbol not found for Request, requestCallBack: (ERROR CLASS: Symbol not found for Request) -> Boolean = { false }): ERROR CLASS: Symbol not found for Pair<ERROR CLASS: Symbol not found for Request?, kotlin/collections/List<ERROR CLASS: Symbol not found for 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.
actual suspend fun resolveUsingWebView(url: String, referer: String?, method: String, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)
actual suspend fun resolveUsingWebView(url: String, referer: String?, headers: Map<String, String>, method: String, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)
actual suspend fun resolveUsingWebView(request: Request, requestCallBack: (Request) -> Boolean): Pair<Request?, List<Request>>(source)