Base
Provides ability to query PIR WHOIS interfaces.
The following WHOIS servers are currently known to require the Pir adapter:
whois.publicinterestregistry.net
Executes a WHOIS query to the PIR WHOIS interface, resolving any intermediate referral, and appends the response to the client buffer.
@param [String] string @return [void]
# File lib/whois/server/adapters/pir.rb, line 33 def request(string) response = query_the_socket("FULL #{string}", host, DEFAULT_WHOIS_PORT) buffer_append response, host if endpoint = extract_referral(response) response = query_the_socket(string, endpoint, DEFAULT_WHOIS_PORT) buffer_append response, endpoint end end
Generated with the Darkfish Rdoc Generator 2.