Executes a WHOIS query to the Arin WHOIS interface, resolving any intermediate referral, and appends the response to the client buffer.
@param [String] string @return [void]
# File lib/whois/server/adapters/arin.rb, line 28 def request(string) query = "n + #{string}" response = query_the_socket(query, host) buffer_append response, host if options[:referral] != false && (referral = extract_referral(response)) response = query_the_socket(query, referral[:host], referral[:port]) buffer_append(response, referral[:host]) end end
Generated with the Darkfish Rdoc Generator 2.