Is it possible to relay WebSocket to reduce traffic to the API provider?

Asked 2 years ago, Updated 2 years ago, 78 views

Thank you for your help.

Would it be possible to display the published websocket API on the website (under my control) through another server (under my control)?
*We have agreed to use it, and there will be no data processing on the route

For example, there is a websocket API that delivers temperatures at a certain point, and because you don't want to let traffic flow from your website, you relay it to other servers, and users of the website get data from it.

Thank you for your cooperation.

api websocket

2022-09-30 19:21

1 Answers

Yes, it's possible.
You will be writing a program that connects to the API server as a WebSocket client and acts as a WebSocket server to users at your site.


2022-09-30 19:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.