handle
abstract fun handle(request: HttpHandler.HttpRequest, listener: HttpHandler.HttpResponseListener, async: Boolean, fromWebView: Boolean)
Handles the given HTTP request, notifying the given listener of a successful response or failure.
Parameters
request
the [HttpRequest] to handle.
Content copied to clipboard
listener
the [HttpResponseListener] to be notified of the result.
Content copied to clipboard
async
if true, return immediately and asynchronously handle the request; if false, block until
the response is complete.
Content copied to clipboard
from Web View
Indicates whether the request originates from a WebView (implementors can use this flag
to maintain a separate cookie store between WebView and non-WebView requests).
Content copied to clipboard