abstract websocket to allow additional transport layers
This commit is contained in:
6
cvmts/src/NetworkServer.ts
Normal file
6
cvmts/src/NetworkServer.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default interface NetworkServer {
|
||||
start() : void;
|
||||
stop() : void;
|
||||
on(event: string, listener: (...args: any[]) => void) : void;
|
||||
off(event: string, listener: (...args: any[]) => void) : void;
|
||||
}
|
||||
Reference in New Issue
Block a user