<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic @qlik/api replacement for Enigma session 'on' methods in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/qlik-api-replacement-for-Enigma-session-on-methods/m-p/2519088#M22224</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm migrating sdome mashups from using EnigmaJS to the new Qlik API and there's one piece of functionality that I'm unable to find a replacement for.&lt;/P&gt;&lt;P&gt;With Enigma, I was able to set up a listener on the session to monitor outgoing requests to the engine and responses when they were processed with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;session.on('traffic:sent', (data) =&amp;gt; {
console.log(data)
});&lt;/LI-CODE&gt;&lt;P&gt;This method does not exist on the AppSession type from the&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229862"&gt;@qlik&lt;/a&gt;/api/qix package, and I can't find documentation for a replacement anywhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this something that exists? Can anyone offer a pointer to where it might be found or an alternative method to monitor outgoing requests and when they're completed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 05:02:02 GMT</pubDate>
    <dc:creator>ArtOfData</dc:creator>
    <dc:date>2025-05-27T05:02:02Z</dc:date>
    <item>
      <title>@qlik/api replacement for Enigma session 'on' methods</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qlik-api-replacement-for-Enigma-session-on-methods/m-p/2519088#M22224</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm migrating sdome mashups from using EnigmaJS to the new Qlik API and there's one piece of functionality that I'm unable to find a replacement for.&lt;/P&gt;&lt;P&gt;With Enigma, I was able to set up a listener on the session to monitor outgoing requests to the engine and responses when they were processed with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;session.on('traffic:sent', (data) =&amp;gt; {
console.log(data)
});&lt;/LI-CODE&gt;&lt;P&gt;This method does not exist on the AppSession type from the&amp;nbsp;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/229862"&gt;@qlik&lt;/a&gt;/api/qix package, and I can't find documentation for a replacement anywhere.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this something that exists? Can anyone offer a pointer to where it might be found or an alternative method to monitor outgoing requests and when they're completed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 05:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qlik-api-replacement-for-Enigma-session-on-methods/m-p/2519088#M22224</guid>
      <dc:creator>ArtOfData</dc:creator>
      <dc:date>2025-05-27T05:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: @qlik/api replacement for Enigma session 'on' methods</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qlik-api-replacement-for-Enigma-session-on-methods/m-p/2520120#M22255</link>
      <description>&lt;P&gt;Hey &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/187953"&gt;@ArtOfData&lt;/a&gt;&lt;/SPAN&gt; you can intercept websockets events using &lt;A href="https://github.com/qlik-oss/qlik-api-ts/blob/241dba666b35281e176421764cfae32906a07cd6/qix.d.ts#L12214" target="_blank"&gt;onWebSocketEvent&lt;/A&gt; method.&lt;BR /&gt;&lt;I&gt;const appSession = qix.openAppSession(appId);&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;appSession.onWebSocketEvent( (event) =&amp;gt; { console.log(event); })&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qlik-api-replacement-for-Enigma-session-on-methods/m-p/2520120#M22255</guid>
      <dc:creator>alex_colombo</dc:creator>
      <dc:date>2025-06-04T14:28:43Z</dc:date>
    </item>
  </channel>
</rss>

