SSE (Construct 3 Plugins)

  • 10
    This content is deleted
    Extension
    SSE

    Server-Sent Events|A server-sent event is when a web page automatically gets updates from a server.

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • This is something like launching Webhook events?

    Hi, would you be so kind as to create some usage example? the documentation is so scarce that I can't quite understand how it works.

    Thank you!

    • Yes They are similar

      The difference is:

      1) using SSE you pull updates to your Front-End.

      2) using Web-hook you pull updates to your Back-End.

      The first is simplier, easier to implement and manage. The second is more secure/reliable.

      Also, some server may implement long-polling, which will delay response until new data arrives, so it might be used instead of SSE.

      If you have a specific example, I will definitely create it

      • For example, I want Construct 3 to read the GPS coordinates at that moment and they can be displayed as variables from the outside. That calling a URL returns those values.