Previously WithHttpClient option would be always overwritten. Now, timeout client is used by default but if user is sophisticated enough to configure http client - this option will be preferred. Reason is that golang default http client is suboptimal for multiple performance considerations (such as reusing httpclients when heavily interacting with the same server)
Previously
WithHttpClient
option would be always overwritten. Now, timeout client is used by default but if user is sophisticated enough to configure http client - this option will be preferred. Reason is that golang default http client is suboptimal for multiple performance considerations (such as reusing httpclients when heavily interacting with the same server)