SSE (Construct 3 Plugins)

  • 10
    This content is deleted
    Addon
    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
  • 2 Comments

  • Order by
  • 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.