我在 android 应用程序中使用 okhttp。有什么办法可以防止重复请求被执行?

I am using okhttp in my android application. Is there any way to prevent duplicate requests from getting executed?

我在 android 应用程序中使用 okhttp。有什么办法可以防止重复请求被执行?假设如果 http://mob.xyz.com/search-products 已经在执行,如果再次执行相同的请求那么应该取消它

还没有。我们有一个 big feature planned 来添加它,但它要几个月才能准备好。