class Protocol::HTTP::Peer
Provide a well defined, cached representation of a peer (address).
def self.for(io)
def self.for(io) if address = io.remote_address return new(address) end end
def initialize(address)
def initialize(address) @address = address if address.ip? @ip_address = @address.ip_address end end