WsWindowServer
manages a node.js
-based server for the WsGUI framework. Usually you don't need to use it directly, as WsWindow will start/stop instances of the WsWindowServer
for you.
Requires node.js.
Starts a new instance of the www/websocket server using node.js. Only one server can be active on a given port. Single server can server multiple WsWindow
s.
port |
The port that the server listens on for web browser connections. |
suppressPosting |
If |
onFailure |
Optional function to be executed if WsWindowServer fails to start. Used by WsWindow to free resources in such case. |