Support configurable HTTP user agent per exchange

This commit is contained in:
Adrian Gallagher
2018-08-07 13:05:13 +10:00
parent efc6c8d31e
commit a0de1b78a7
33 changed files with 183 additions and 9 deletions

View File

@@ -82,6 +82,7 @@ func (b *Bithumb) Setup(exch config.ExchangeConfig) {
b.AuthenticatedAPISupport = exch.AuthenticatedAPISupport
b.SetAPIKeys(exch.APIKey, exch.APISecret, "", false)
b.SetHTTPClientTimeout(exch.HTTPTimeout)
b.SetHTTPClientUserAgent(exch.HTTPUserAgent)
b.RESTPollingDelay = exch.RESTPollingDelay
b.Verbose = exch.Verbose
b.Websocket = exch.Websocket