Info

Statistics

  • Download count499 total downloads
  • Latest download count 206 downloads of latest version
  • Average download count1 downloads per day average

Owners

Description

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

Discussion

  • 4 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • 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.

  • Helpful!