To use this in the Smart Agent, we would need for several http.Client options to be tuneable. A lot of API clients allow you to either override the http.Client instances used, either by a setter method or just making the http.Client field an exported memory of the client struct so it can be directly set. This would probably be the most flexible approach compared to trying to pass through all of the options that http.Client has on it. The Smart Agent's dimension property updater client uses this option set.
To use this in the Smart Agent, we would need for several
http.Client
options to be tuneable. A lot of API clients allow you to either override thehttp.Client
instances used, either by a setter method or just making thehttp.Client
field an exported memory of the client struct so it can be directly set. This would probably be the most flexible approach compared to trying to pass through all of the options thathttp.Client
has on it. The Smart Agent's dimension property updater client uses this option set.