class ActionDispatch::Request

def remote_ip

Experimental RBS support (using type sampling data from the type_fusion project).

def remote_ip: () -> String

This signature was generated using 4 samples from 1 application.

usually set by the RemoteIp middleware.
Returns the IP address of client as a +String+,
def remote_ip
  @remote_ip ||= (get_header("action_dispatch.remote_ip") || ip).to_s
end