Hedwig.Config
Handles configuration for a Hedwig client.
Configuration is very flexible to allow customization of how clients connect to XMPP servers. The different configuration options are as follows:
:server
- Specifies the host to connect to. This is inferred by the JID automatically.:port
- Set the port to connect to. Default is 5222.:require_tls?
- Specify whether you require TLS. Defaults tofalse
.:preferred_auth_mechanisms
- A list of preferred authentication mechanisms.:ignore_from_self?
- Filters out messages sent from your JID. Defaults totrue
. Set this tofalse
if you need to process your own messages.