OkHttpHandler

An OkHttp implementation of the HttpHandler interface.

Since

8.30

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
inner class OkHttpResponse(val request: HttpHandler.HttpRequest, response: Response) : HttpHandler.HttpResponse
Link copied to clipboard
class WebViewCookieHandler : CookieJar

Provides a synchronization point between the WebView cookie store and okhttp3.OkHttpClient cookie store.

Functions

Link copied to clipboard
open override 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.