Join Slack
Communities
Powered by
What would be a recommended way of handling that (...
# ktor
b
bjonnh
01/04/2019, 9:07 PM
What would be a recommended way of handling that (client side)
e
e5l
01/05/2019, 11:44 AM
You could write a feature that read response headers and measure request count and time.
e5l
01/05/2019, 11:45 AM
You also could use the
delay
method from coroutines in the request pipeline to delay your requests.
b
bjonnh
01/06/2019, 4:15 AM
Thanks, that's what I ended up doing works perfectly. Adaptive delay that use the current time and last request time to calculate the delay.
Open in Slack
Previous
Next