Method: OneApm::Support::HTTPClients::ExconHTTPRequest#port

Defined in:
lib/one_apm/support/http_clients/excon_wrappers.rb

#portObject



44
45
46
47
48
49
50
# File 'lib/one_apm/support/http_clients/excon_wrappers.rb', line 44

def port
  if hostname = (self['host'] || self['Host'])
    hostname.split(':').last
  else
    @datum[:port]
  end
end