struct

XMPP::ComponentOptions

Inherits Struct / Value / Object

Constructors

new(domain : String, secret : String, host : String, port : Int32, name : String, category : String, type : String, log_file : IO | Nil = nil, connect_timeout : Int32 = 5, io_timeout : Int32 = 30, max_stanza_size : Int32 = XMLStreamReader::DEFAULT_MAX_ELEMENT_SIZE)
Source

Instance methods

category

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

Source
connect_timeout
Source
domain

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

Source
host

host is the XMPP Host to connect to

Source
io_timeout
Source
log_file
Source
max_stanza_size
Source
name

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

Source
port

port is the XMPP host port to connect to

Source
secret

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

Source
type
Source