20
Views
2
Comments
Solved
[Web API Broadcast Channel] It's possible update other browsers
web-api-broadcast-channel
Reactive icon
Forge asset by Barduino
Application Type
Reactive

Hello,

It's possible with this component to update other browsers/users?

Thanks in advance

2023-08-28 07-00-10
Paulo Torres
Champion
Solution

Thanks for the answer. I solved my problem with Pusher.


Best Regards, Paulo Torres

UserImage.jpg
Barduino

Hi Paulo,

Not really, the Broadcast channel is design to exchange information within the same context, so think multiple tabs open, iframes, etc.

If you want to broadcast messages from a server to multiple recipients you'll probably looking for the Web API Server sent events.

There are a couple of components on the forge that implement this, see Reactive SSE Client (complete with server side implementation in OutSystems) and Web API Server Sent Events (just the client).

If you want to send events between the clients and or clients and server you might want to consider MQTT or similar publish/subscribe messaging system.

Cheers

2023-08-28 07-00-10
Paulo Torres
Champion
Solution

Thanks for the answer. I solved my problem with Pusher.


Best Regards, Paulo Torres

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.