pplicationKey', 'yourAuthenticationToken');
</code></pre>
<h4>disconnect</h4>
<p>Disconnects the client.</p>
<p>Example:</p>
<pre><code>ORTC.disconnect();
</code></pre>
<h4>subscribe</h4>
<p>Subscribes to the supplied channel to receive messages sent to it.
Parameters:
- <strong>channel</strong> [string]: The channel name.
- <strong>subscribe_on_reconnect</strong> [bool] -Indicates whether the client should subscribe to the channel when reconnected (if it was previously subscribed when connected).</p>
<p>Ex