mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
XEP-0234: Specify session-info instead of transport-info
Fixes https://github.com/xsf/xeps/issues/154 XEP-0234: Remove extraneous initiator attribute from examples add patch revision
This commit is contained in:
parent
6500820120
commit
40123bfcf8
15
xep-0234.xml
15
xep-0234.xml
@ -24,6 +24,12 @@
|
||||
<shortname>NOT_YET_ASSIGNED</shortname>
|
||||
&stpeter;
|
||||
&lance;
|
||||
<revision>
|
||||
<version>0.17.1</version>
|
||||
<date>2016-03-08</date>
|
||||
<initials>ls</initials>
|
||||
<remark><p>Corrected some instances of transport-info to instead be session-info.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.17</version>
|
||||
<date>2015-09-08</date>
|
||||
@ -440,7 +446,7 @@ Initiator Responder
|
||||
</jingle>
|
||||
</iq>]]></example>
|
||||
<p>Note: Inclusion of the <range/> child of the <file/> element indicates that the initiator supports ranged transfers as described below under <link url='#range'>Ranged Transfers</link>.</p>
|
||||
<p>Note: Computing the hash of the file before sending it can slow down the process of file transfer, because the sending application needs to process the file twice. The File Sender might prefer to send the hash after the file transfer has begun, using a transport-info message as described under <link url='#hash'>Checksum</link>.</p>
|
||||
<p>Note: Computing the hash of the file before sending it can slow down the process of file transfer, because the sending application needs to process the file twice. The File Sender might prefer to send the hash after the file transfer has begun, using a session-info message as described under <link url='#hash'>Checksum</link>.</p>
|
||||
<p>The responder immediately acknowledges receipt of the Jingle session-initiate.</p>
|
||||
<example caption="Responder acknowledges session-initiate"><![CDATA[
|
||||
<iq from='juliet@capulet.example/yn0cl4bnw0yr3vym'
|
||||
@ -455,7 +461,7 @@ Initiator Responder
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='session-accept'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
responder='juliet@capulet.example/yn0cl4bnw0yr3vym'
|
||||
sid='851ba2'>
|
||||
<content creator='initiator' name='a-file-offer' senders='initiator'>
|
||||
<description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
@ -558,7 +564,6 @@ Initiator Responder
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='content-add'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
sid='uj3b2'>
|
||||
<content creator='initiator' name='additional' senders='initiator'>
|
||||
<description xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
@ -663,7 +668,6 @@ Initiator Responder
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='content-remove'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
sid='a73sjjvkla37jfea'>
|
||||
<content creator='initiator' name='a-file-offer' />
|
||||
<reason>
|
||||
@ -743,7 +747,6 @@ a=file-range:1024-*]]></code>
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='session-info'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
sid='a73sjjvkla37jfea'>
|
||||
<received xmlns='urn:xmpp:jingle:apps:file-transfer:4'
|
||||
creator='initiator'
|
||||
@ -763,7 +766,6 @@ a=file-range:1024-*]]></code>
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='session-info'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
sid='a73sjjvkla37jfea'>
|
||||
<checksum xmlns='urn:xmpp:jingle:apps:file-transfer:4'
|
||||
creator='initiator'
|
||||
@ -783,7 +785,6 @@ a=file-range:1024-*]]></code>
|
||||
type='set'>
|
||||
<jingle xmlns='urn:xmpp:jingle:1'
|
||||
action='session-info'
|
||||
initiator='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
sid='a73sjjvkla37jfea'>
|
||||
<checksum xmlns='urn:xmpp:jingle:apps:file-transfer:4'
|
||||
creator='initiator'
|
||||
|
Loading…
Reference in New Issue
Block a user