class DChecker::WHOISClient

Defined in:

whoisclient.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, port : Int32 = 43, query_format : String = "%domain%\n", available_regex : Regex = /^NOT FOUND/im) #

[View source]

Instance Method Detail

def add_input_channel(channel : Channel(Domain)) #

[View source]
def check(domain : Domain, timeout : Float64 = 10) : WHOISResponse #

[View source]
def scan_loop(ochannel : Channel(WHOISResponse), interval : Float64 = 0.25, timeout : Float64 = 10) #

[View source]