ample:</p>
<pre><code>ORTC.send('yellow', 'This is the message');
</code></pre>
<h4>isSubscribed</h4>
<p>Returns boolean value which indicates whether the client is subscribed to the supplied channel.
Parameter:
- <strong>channel</strong> [string]: The channel name.</p>
<p>Example:</p>
<pre><code>alert(ORTC.isSubscribed('yellow'));
</code></pre>
<h4>isConnected</h4>
<p>Returns boolean value which indicates whether the client is connected. </p>
<p>Example:</p>
<pre><code>alert(ORTC.isConnected());
</code></p