Method: Arrow::Transaction#remote_ip

Defined in:
lib/arrow/transaction.rb

#remote_ipObject

Fetch the client’s IP, either from proxy headers or the connection’s IP.



356
357
358
# File 'lib/arrow/transaction.rb', line 356

def remote_ip
  return self.headers_in['X-Forwarded-For'] || self.connection.remote_ip
end