=Functions=
The BaseX-specific [[RESTXQ Module]] provides some functions for requesting the RESTXQ URIs and generating a [http://www.w3.org/Submission/wadl/ WADL Description] of all services. The [[Request Module]] provides additional contains functions for accessing data related to the current HTTP request . Two additional modules exist for setting and retrieving server-side session data related of the current user ([[Session Module]]) and all users known to the HTTP requestsserver ([[Sessions Module]]). Please note that the namespaces of these four modules must be explicitly imported in the query prolog. The following example returns the current session idhost name:
<pre class="brush:xquery">
};
</pre>
Additional modules exist for setting and retrieving server-side session data of the current user ([[Session Module]]) and all users known to the HTTP server ([[Sessions Module]]).
=Response=