make network abstraction pass bare buffer

this bitrots tcp a bit. once the tcp protocol is replaced with a message based one it shouild be fine
This commit is contained in:
modeco80
2024-08-22 04:20:26 -04:00
parent 53b5b6d874
commit f7fb30ba20
7 changed files with 26 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
import * as http from 'http';
import NetworkServer from '../NetworkServer.js';
import { NetworkServer } from '../NetworkServer.js';
import EventEmitter from 'events';
import { WebSocketServer, WebSocket } from 'ws';
import internal from 'stream';