Last change
on this file since 170:bb143a4ae70d was
170:bb143a4ae70d,
checked in by Ralph Meijer <ralphm@…>, 10 years ago
|
Add documentation using Sphinx and pydoctor, automate doc generation.
|
File size:
365 bytes
|
Line | |
---|
1 | """ |
---|
2 | A basic XMPP client. |
---|
3 | """ |
---|
4 | |
---|
5 | from twisted.application import service |
---|
6 | from twisted.words.protocols.jabber.jid import JID |
---|
7 | |
---|
8 | from wokkel import client |
---|
9 | |
---|
10 | jid = JID("user@example.org") |
---|
11 | password = 'secret' |
---|
12 | |
---|
13 | application = service.Application('XMPP client') |
---|
14 | xmppClient = client.XMPPClient(jid, password) |
---|
15 | xmppClient.logTraffic = True |
---|
16 | xmppClient.setServiceParent(application) |
---|
Note: See
TracBrowser
for help on using the repository browser.