<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>socket.connected Client Message</title><link>https://community.telligent.com/community/12/w/api-documentation/71617/socket-connected-client-message</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>socket.connected Client Message</title><link>https://community.telligent.com/community/12/w/api-documentation/71617/socket-connected-client-message</link><pubDate>Fri, 15 Jan 2021 20:25:06 GMT</pubDate><guid isPermaLink="false">ec06c8c2-a834-43a5-b504-42593fc935ec</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71617/socket-connected-client-message#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 20:25:06&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;socket.connected Client Message&lt;/h3&gt;
&lt;p&gt;[[messaging JavaScript API Module|Client-side message]] raised when the realtime socket connection is ready. After this message is raised, it is safe to send and receive socket messages against plugin-defined sockets with &lt;code&gt;$.telligent.evolution.sockets.SOCKET_NAME.on(eventName, function)&lt;/code&gt; and &lt;code&gt;$.telligent.evolution.sockets.SOCKET_NAME.send(eventName, data)&lt;/code&gt;&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.messaging.subscribe(&amp;#39;socket.connected&amp;#39;, function() {
    // handle the event
});
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>