Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lvce-editor/web-socket-server
https://github.com/lvce-editor/web-socket-server
lvce-editor web-socket-server
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lvce-editor/web-socket-server
- Owner: lvce-editor
- License: mit
- Created: 2024-01-06T16:57:30.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T08:55:34.000Z (3 months ago)
- Last Synced: 2024-08-25T09:52:31.152Z (3 months ago)
- Topics: lvce-editor, web-socket-server
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web Socket Server
Wrapper module for `ws` for use in Lvce Editor.
### Usage
```js
import * as WebSocketServer from "@lvce-editor/web-socket-server";// receive request object and socket from a parent
// process and upgrade the socket to a websocket
await WebSocketServer.handleUpgrade(request, socket);
```