B4J Question [closed]Okhttp how to use setMaxRequests setMaxRequestsPerHost

Kevin

Well-Known Member
Licensed User
I realize this is an older thread but I feel like this is the best place to post this.

I am trying to set the max requests as Erel posted above but I am getting this error with OkHttp v1.22:

java.lang.RuntimeException: Method: getDispatcher not found in: okhttp3.OkHttpClient
 
Upvote 0

DonManfred

Expert
Licensed User
I realize this is an older thread but I feel like this is the best place to post this.
It is not. You should always create a new Thread for any new Question. Posting to others threads is a mistake. One Thread should sumarize one Question
 
Last edited:
Upvote 0
Top