Hi,
I am using okhttp to send test HTTP requests to server. I can't figure out how to increase the concurrent limits.
Thanks
I am using okhttp to send test HTTP requests to server. I can't figure out how to increase the concurrent limits.
# http://square.github.io/okhttp/3.x/okhttp/okhttp3/Dispatcher.html
setMaxRequests(int maxRequests)
Set the maximum number of requests to execute concurrently.
setMaxRequestsPerHost(int maxRequestsPerHost)
Set the maximum number of requests for each host to execute concurrently.
Thanks