==Transfer Protocol==
The protocol below is compliant with <font color='orangered'>Version 6.8</font> of BaseX.
===Syntax===
| <code>{</code>''start of response''<code>} \1 {error}</code>
|}
Please note that the protocol for iterative query execution has changed: From Version 6.3.1 to 6.7.1 of BaseX, iterative queries could lead to deadlocks if query iterators were not properly closed. Since Version 6.8, the ITER command returns all results of a query in one go, and the iterative execution of clients is left to the client code.
===Examples===