async GET

String.httpGetAsync() extension function

This function starts a new coroutine with Unconfined dispatcher.

val response: Deferred<Response> = "https://google.com/search?q=iphone".httpGetAsync()

httpGetAsync call

You can use same syntax as in GET‚Äč

val response: Deferred<Response> = httpGetAsync { }