You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
330 B

module CryptCheck
module Tls
module Xmpp
class Host < Tls::Host
attr_reader :domain
def initialize(*args, domain: nil, type: :s2s)
@domain, @type = domain, type
super *args
end
private
def server(*args)
Xmpp::Server.new *args, domain: @domain, type: @type
end
end
end
end
end