On Wed, 2018-05-16 at 17:04 +0300, / wrote: > Hi there, > > My main requirement is that I do not have to change a lot of code > when > the HC5 becomes stable. > > So, if I am writing software to live for the next 3 years should I > use > already existing HC4 or try HC5-beta. In fact I already started > playing > with HC5 but I can't find a lot of examples - even for as a simple > thing > as printing the response content or changing timeout settings? >
While documentation for HC5 is still virtually non-existent there should be quite a few examples already. https://github.com/apache/httpcomponents-client/tree/master/httpclient5 /src/examples/org/apache/hc/client5/http/examples If you need HTTP/2 transport today HC5 should be a better choice, otherwise stick to HC4 for now. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
