Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

How to push notifications (and server responses) to my WebGL game?

Discussion in 'WebGL' started by orliem, Jan 6, 2021.

  1. orliem

    orliem

    Joined:
    Aug 23, 2017
    Posts:
    3
    Hello, I am relatively new to developing in Unity. I have a WebGL game that polls my server for data, but I want to switch it so that my server can push the data to my game. Does anyone have any recommendations or examples on how to solve this problem?

    My server is hosted in AWS Lambda and fronted by REST APIG. I was thinking maybe I could make something work by leveraging SNS or perhaps Websocket APIG, but am not really sure if either is feasible.

    Thank you!
     
  2. orliem

    orliem

    Joined:
    Aug 23, 2017
    Posts:
    3
    unityruba and Meltdown like this.