Closed yohan-couppey closed 2 years ago
This is a proposal to add the possibility to overwrite the User-Agent field when we do requests.
Example of use :
c := client.NewClient( fmt.Sprintf("https://%s:%s", "influx_url", "influx_proxy_port"), "influx_token" ) // Ensures background processes finishes defer c.Close() c.HTTPService().SetUserAgent("custom_user_agent")
The whole code was not committed, I am sorry for the inconvenience and I will make a new pull request when it's done
This is a proposal to add the possibility to overwrite the User-Agent field when we do requests.
Example of use :