ActionDispatch::RemoteIp::GetIp

class ActionDispatch::RemoteIp::GetIp

Parent:
Object

The GetIp class exists as a way to defer processing of the request data into an actual IP address. If the ActionDispatch::Request#remote_ip method is called, this class will calculate the value and then memoize it.

Public Class Methods

new(env, middleware) 登录查看完整内容