func (r *ProtocolLXD) GetHTTPClient() (*http.Client, error) {
	if r.http == nil {
		return nil, fmt.Errorf("HTTP client isn't set, bad connection")
	}

	return r.http, nil
}
func (r *ProtocolLXD) GetHTTPClient() (*http.Client, error) {
	if r.http == nil {
		return nil, fmt.Errorf("HTTP client isn't set, bad connection")
	}

	return r.http, nil
}
func ( r * ProtocolLXD ) GetHTTPClient ( ) ( * http . Client , error ) { if r . http == nil { return nil , fmt . Errorf ( " " ) } return r . http , nil }
// GetHTTPClient returns the http client used for the connection. This can be used to set custom http options.
GetHTTPClient returns the http client used for the connection . This can be used to set custom http options .