api_uri()
Use an SRV record on the host to look up the true endpoint for the index.
# File lib/rubygems/source.rb, line 45 def api_uri # :nodoc: require 'rubygems/remote_fetcher' @api_uri ||= Gem::RemoteFetcher.fetcher.api_endpoint uri end