* The {{Code|basex-api}} package must be included in the classpath. This is always the case if you use one of the complete distributions (zip, exe, war) of BaseX.
* All functions and errors are assigned to the <code><nowiki>http://basex.org/modules/websocketws</nowiki></code> namespace. The module must be imported in the query prolog:
<pre class="brush:xquery">
import module namespace ws = "http://basex.org/modules/Websocketws";
...
</pre>