kohttp
Search
⌃
K
Introduction
Core
Synchronous calls
Asynchronous calls
async GET
async POST
async PUT
async HEAD
async DELETE
async PATCH
async Generic requests
async Upload files
Response usage
Interceptors
Customisation
Experimental features
History
Changelog
Powered By
GitBook
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
{
}
Core - Previous
Asynchronous calls
Next
async POST
Last modified
4yr ago