intercept

abstract fun intercept(chain: Interceptor.Chain): Response

Intercept the request with the given chain and return the response. During interception, WebView will be triggered.

Return

The Response from the intercepted request.

Parameters

chain

The Interceptor.Chain containing the request and response.