struct XMPP::ComponentOptions

Defined in:

xmpp/component.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(domain : String, secret : String, host : String, port : Int32, name : String, category : String, type : String, log_file : IO | Nil = nil) #

[View source]

Instance Method Detail

def category : String #

Typical categories and types: https://xmpp.org/registrar/disco-categories.html


[View source]
def domain : String #

Component Connection Info domain is the XMPP server subdomain that the component will handle


[View source]
def host : String #

host is the XMPP Host to connect to


[View source]
def log_file : IO | Nil #

[View source]
def name : String #

component human readable name, that will be shown in XMPP discovery


[View source]
def port : Int32 #

port is the XMPP host port to connect to


[View source]
def secret : String #

secret is the "password" used by the XMPP server to secure component access


[View source]
def type : String #

[View source]