summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2008-10-29 16:53:31 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2008-10-29 16:53:31 +0000
commitce40f316f4d54a51d8db95b85313c36105788745 (patch)
tree534134fc7d8568fb5f0aad738da5e7feaf958918 /docs
parent2702f94c64828145ee967a4d0eec01d9e5b82812 (diff)
downloadtelepathy-salut-ce40f316f4d54a51d8db95b85313c36105788745.tar.gz
docs/tubes.txt: Examples for tube closing
Diffstat (limited to 'docs')
-rw-r--r--docs/tubes.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/tubes.txt b/docs/tubes.txt
index 894643e3..f9bf08b8 100644
--- a/docs/tubes.txt
+++ b/docs/tubes.txt
@@ -49,9 +49,19 @@ runs AcceptStreamTube or CloseTube.
The receptor uses the port given by the iq stanza and the IP address used by the XMPP connection.
Receptor to initiator: close the tube
+ <iq type="set"
+ from="alban_test02@alban-hp"
+ to="alban_test01@alban-hp"
+ id="67843">
+ <close id="364091438"
+ xmlns="http://telepathy.freedesktop.org/xmpp/tubes">
+ </iq>
Initiator to receptor: acknowledges the close request
-
+ <iq type="result"
+ from="alban_test01@alban-hp"
+ to="alban_test02@alban-hp"
+ id="67843"/>
Note that the close message is sent twice. This must be fixed. Gabble has the
same bug: