mirror of
https://github.com/elicpeter/nyx.git
synced 2026-07-03 20:41:00 +02:00
refactor(dynamic): improve SSA receiver type checks, enhance framework bindings, and expand test coverage
This commit is contained in:
parent
f7310b20ba
commit
3027c1afa7
9 changed files with 583 additions and 56 deletions
|
|
@ -1,5 +1,6 @@
|
|||
// Phase 21 — `ws` WebSocket benign control.
|
||||
const _NYX_ADAPTER_MARKER = "require('ws')";
|
||||
const _NYX_WS_MESSAGE_MARKER = "wss.on('connection', ws => ws.on('message', onMessage))";
|
||||
|
||||
function onMessage(data) {
|
||||
return 'echoed: ' + JSON.stringify(String(data));
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
// WebSocketServer instance. It splices the message bytes into a
|
||||
// child-process command — classic WS → cmdi shape.
|
||||
const _NYX_ADAPTER_MARKER = "require('ws')";
|
||||
const _NYX_WS_MESSAGE_MARKER = "wss.on('connection', ws => ws.on('message', onMessage))";
|
||||
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue