is there a nonblocking http client that supports coroutines? i would like to create 1000 http requests in parallel. in java i would probably use jetty-http-client
k
kirillrakhman
01/24/2018, 1:43 PM
you can take any future based one and adapt it to coroutines with ~10 lines of code
s
sindrenm
01/24/2018, 1:50 PM
Also true.
c
christophsturm
01/24/2018, 1:59 PM
ok retrofit is not what I’m searching for because it uses okhttp and that is mostly blocking, its what I’m using now. I guess i will use jetty-client and refactor to coroutines