func makeHTTPClient()

in core/http.go [33:46]


func makeHTTPClient(options *ClientOptions) Client {
	if options.Client != nil {
		return options.Client
	}

	return &http.Client{
		Timeout: options.Timeout,
		Transport: &http.Transport{
			TLSClientConfig: &tls.Config{
				InsecureSkipVerify: options.InsecureSkipVerify,
			},
		},
	}
}