Closed tdakkota closed 4 years ago
You can specify a custom http.Client
in this code, but the Transport
is overwritten. What in particular do you want to override about the http.Client
? Perhaps that would be better to define in the config specifically.
Thank you for writing a PR!
Reverted because this broke users.
Forgive me that I did not catch this in review. Thankfully @iwinulose filed a bug report promptly.
I will re-review if you add tests.
Should I make a new PR?
Yes I don’t believe a closed PR can receive updates.
ScriptConfig
, likeBotConfig
BotConfig
clientConfig.Client
if it is not nil