mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-03 06:22:16 -05:00
Update description for example with hash-used
This commit is contained in:
parent
53046ef81a
commit
42ecaa6984
@ -854,7 +854,7 @@ a=file-range:1024-*]]></code>
|
||||
</checksum>
|
||||
</jingle>
|
||||
</iq>]]></example>
|
||||
<p>If the initiator wishes to communicate only the hashing algorithm at the beginning of the session (e.g., because it has not yet calculated the checksum), it can send an empty <hash/> element (without a checksum in the XML character data as shown in the previous examples) in the session-initiate message; this enables the recipient to check the file during the transfer session (which can be helpful in the case of transfers that are truncated or fail mid-stream).</p>
|
||||
<p>If the initiator wishes to communicate only the hashing algorithm at the beginning of the session (e.g., because it has not yet calculated the checksum), it can send <hash-used/> element in the session-initiate message; this enables the recipient to check the file during the transfer session (which can be helpful in the case of transfers that are truncated or fail mid-stream).</p>
|
||||
<example caption="Initiator communicates hashing algorithm in session-initiate"><![CDATA[
|
||||
<iq from='romeo@montague.example/dr4hcr0st3lup4c'
|
||||
id='nzu25s8'
|
||||
|
Loading…
Reference in New Issue
Block a user