func (s *state) HTTPClient() (*httprequest.Client, error) {
	baseURL, err := s.apiEndpoint("/", "")
	if err != nil {
		return nil, errors.Trace(err)
	}
	return s.httpClient(baseURL)
}
// HTTPClient implements Connection.APICaller.HTTPClient and returns an HTTP
// client pointing to the API server "/model/:uuid/" path.
HTTPClient implements Connection.APICaller.HTTPClient and returns an HTTP
client pointing to the API server "/model/:uuid/" path.
// HTTPClient implements Connection . APICaller . HTTPClient and returns an HTTP // client pointing to the API server " / model / : uuid / " path .
func (s *state) HTTPClient() (*httprequest.Client, error) {
	baseURL, err := s.apiEndpoint("/", "")
	if err != nil {
		return nil, errors.Trace(err)
	}
	return s.httpClient(baseURL)
}
func ( s * state ) HTTPClient ( ) ( * httprequest . Client , error ) { baseURL , err := s . apiEndpoint ( " " , " " ) if err != nil { return nil , errors . Trace ( err ) } return s . httpClient ( baseURL ) }
HTTPClient implements Connection.APICaller.HTTPClient and returns an HTTP
client pointing to the API server "/model/:uuid/" path.
HTTPClient implements Connection . APICaller . HTTPClient and returns an HTTP client pointing to the API server " / model / : uuid / " path .