diff options
author | Lance Stout <lancestout@gmail.com> | 2010-09-01 18:18:30 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-09-01 18:18:30 -0400 |
commit | 0b4320a19610ab5c3f8d543a4a1ee7969c9e8db6 (patch) | |
tree | ff8b308a9b0d6f18d62401321cdd39ea3ed048ed /examples/config.xml | |
parent | 9bef4b4d4d54768cb753e4bbfec049e97d063882 (diff) | |
download | slixmpp-0b4320a19610ab5c3f8d543a4a1ee7969c9e8db6.tar.gz slixmpp-0b4320a19610ab5c3f8d543a4a1ee7969c9e8db6.tar.bz2 slixmpp-0b4320a19610ab5c3f8d543a4a1ee7969c9e8db6.tar.xz slixmpp-0b4320a19610ab5c3f8d543a4a1ee7969c9e8db6.zip |
Updated the client and component examples.
The component example now actually uses a config.xml file for its
connection information, and to initialize a roster.
Diffstat (limited to 'examples/config.xml')
-rw-r--r-- | examples/config.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/config.xml b/examples/config.xml new file mode 100644 index 00000000..4ca3a3d6 --- /dev/null +++ b/examples/config.xml @@ -0,0 +1,10 @@ +<config xmlns="sleekxmpp:config"> + <jid>component.localhost</jid> + <secret>ssshh</secret> + <server>localhost</server> + <port>8888</port> + + <query xmlns="jabber:iq:roster"> + <item jid="user@example.com" subscription="both" /> + </query> +</config> |