https://kotlinlang.org logo
#ktor
Title
# ktor
t

Tianyu Zhu

05/25/2022, 4:15 PM
Is there an easy way to enforce a rate-limit on a Ktor client? e.g.
Copy code
HttpClient {
  install(RateLimit) {
    limit = 100.requestsPerSecond
  }
}
a

Aleksei Tirman [JB]

05/27/2022, 7:35 AM
Unfortunately, no. You may find this plugin helpful.
9 Views