Integration SSE events (Server Sent Event) with Ignition perspective applications

There's a very verbose, of dubious quality example of a Java SSE client based on Java's built in HTTP client here. That same HTTP client is what's backing the system.net.httpClient function, and is directly accessible via system.net.httpClient().javaClient.

In theory, you could translate the code in the link above to Jython, provide system.net.httpClient().javaClient as the input HTTP client, and use that as your baseline.

More fruitful might be reading up on the SSE spec, Java's built in HTTP client and how it works, and writing the code from scratch. :man_shrugging:

Whichever way you go is going to take some engineering time, there's no turn-key solution.

EDIT: Actually, I like some of the other links on this SO thread better:

2 Likes