Kong / unirest-java

Unirest in Java: Simplified, lightweight HTTP client library.
http://kong.github.io/unirest-java/
MIT License
2.58k stars 591 forks source link

Describe configuring concurrency in v4 #492

Closed gtaylor1981 closed 9 months ago

gtaylor1981 commented 9 months ago

Could you please describe how to configure concurrency in v4.0?

I found this when attempting to upgrade from 3.14 to 4.0. Also, a number of examples in the documentation mentions this configuration feature, however it no longer compiles in v4.0.

e.g. at http://kong.github.io/unirest-java/#configuration

new Config().concurrency(10, 5)

does not compile.

ryber commented 9 months ago

These settings were a feature of the underlying Apache engine that was used in 3. 4 does not have these settings because Java does not have these settings. There are no plans to add them back in any way. I will remove the documentation