Methods

Files

Class/Module Index [+]

Quicksearch

Whois::Server::Adapters::Verisign

Verisign Adapter

Provides ability to query Verisign WHOIS interfaces.

The following WHOIS servers are currently known to require the Verisign adapter:

Public Instance Methods

request(string) click to toggle source

Executes a WHOIS query to the Verisign WHOIS interface, resolving any intermediate referral, and appends the response to the client buffer.

@param [String] string @return [void]

# File lib/whois/server/adapters/verisign.rb, line 36
def request(string)
  response = query_the_socket("=#{string}", host)
  buffer_append response, host

  if endpoint = extract_referral(response)
    response = query_the_socket(string, endpoint)
    buffer_append response, endpoint
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.