class Sparoid::Client

Defined in:

client.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(key : String, hmac_key : String, ip : StaticArray(UInt8, 4) = PublicIP.by_http) #

[View source]
def self.new(config_path = "~/.sparoid.ini") #

[View source]

Class Method Detail

def self.fdpass(ips, port) : NoReturn #

[View source]
def self.generate_package(key, hmac_key, ip) : Bytes #

[View source]
def self.keygen #

[View source]
def self.send(key : String, hmac_key : String, host : String, port : Int32, ip = PublicIP.by_http) : Array(String) #

[View source]

Instance Method Detail

def send(host : String, port : Int32) #

[View source]