diff --git a/yggdrasil/yggdrasil.go b/yggdrasil/yggdrasil.go index 9bf4f87..a0cad1d 100644 --- a/yggdrasil/yggdrasil.go +++ b/yggdrasil/yggdrasil.go @@ -64,3 +64,9 @@ func rawPost(endpoint string, payload interface{}) (*http.Response, error) { // Do return client.Do(PostRequest) } + +// Client return the HTTP client for Yggdrasil. +// Only used when you want to modify settings of the HTTP client. +func Client() *http.Client { + return &client +}