Create WebSocket server plugin #14545
seahindeniz
started this conversation in
Plugin Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋🏻
I have checked the documentation and seems like the WebSocket plugin can only be used to implement a client. I would like to ask if it can have the ability to create a server instance as well without depending on external dependencies that could have a side effect.
The reasoning behind needing a server is to allow external apps to have a communication way between Tauri FE and client. This range is not restricted to only other apps, it creates the possibility to communicate with any type of browser extensions and also websites that opens in a browser or even a small IOT device that can use a WebSocket client through the same network. The reasoning is limitless at this point.
Additionally:
For browser extensions, it is also possible to use Native Messaging concept, but that it not too clear and isn't open as WebSocket protocol.
Beta Was this translation helpful? Give feedback.
All reactions