What would be a recommended way of handling that (...
# ktor
b
What would be a recommended way of handling that (client side)
e
You could write a feature that read response headers and measure request count and time.
You also could use the
delay
method from coroutines in the request pipeline to delay your requests.
b
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.