https://github.com/simov/electron-socket
https://github.com/simov/electron-socket
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/simov/electron-socket
- Owner: simov
- License: apache-2.0
- Created: 2016-09-01T07:48:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T15:26:28.000Z (over 8 years ago)
- Last Synced: 2025-07-30T16:23:59.985Z (6 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Environment Variables
```bash
WS_PORT=3011 EL_PORT=3012 EL_APP=/path/to/app
```
# WebSocket Messages
- `connect` - used for spawing the electron process from a web(ws)-server, returns a `connected` message
- `disconnect` - used for closing the spawned electron window and web socket, returns a `disconnected` message