You can use several controllers on one connection to multiplex communication over many controllers.
Below you can see how to get a controller instance to communicate with the
generic server-side controller. The following sections will walk through the controller API (events and communication patterns).
<script> var conn = new xsockets.client('ws://localhost:4502'); var generic = conn.controller('generic'); </script>