class Pinger

Defined in:

pinger.cr

Constant Summary

OS = "linux"
VERSION = {{ (system("shards version \"/srv/crystaldoc.info/github-spider-gazelle-pinger-v1.1.2/src\"")).chomp.stringify.downcase }}

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String, count : Int32 = 1, timeout : Int32 = 5) #

[View source]

Instance Method Detail

def count : Int32 #

[View source]
def duration : Int32? #

[View source]
def exception : String? #

[View source]
def host : String #

[View source]
def ip : Socket::IPAddress? #

[View source]
def ping #

[View source]
def ping! #

[View source]
def pingable : Bool? #

[View source]
def timeout : Int32 #

[View source]
def warning : String? #

[View source]