Connecting to websockets in app router

I am looking to build an application that does the following:
  • connect to zoom
  • get users from zoom
  • subscribe to their status
I can’t find anything on websockets for nextjs app router.

Does anyone know how I would do this?

Would prefer to subscribe on the server best solution i got is to wrap the layout in a client component and the client component gets the users and subscribes to the status however this would be slow
Was this page helpful?