To replace httpapi for test helpers, httpclientx needs two extra functionality:
fast recovery in case a previous attempt failed (e.g., we immediately get connection reset by peer and, in such a case, it does not make sense to wait for a schedule interval before starting the next attempt);
returning the index of the endpoint that succeeded, which is required to know which test helper we used.
Once we have implemented both, it is safe to move forward and use httpclientx for the test helpers.
To replace
httpapi
for test helpers,httpclientx
needs two extra functionality:Once we have implemented both, it is safe to move forward and use
httpclientx
for the test helpers.