summary refs log tree commit diff
path: root/webrtc/src/opcodes/Connect.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/src/opcodes/Connect.ts')
-rw-r--r--webrtc/src/opcodes/Connect.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/webrtc/src/opcodes/Connect.ts b/webrtc/src/opcodes/Connect.ts

index 5db11638..b312d6f2 100644 --- a/webrtc/src/opcodes/Connect.ts +++ b/webrtc/src/opcodes/Connect.ts
@@ -3,4 +3,8 @@ import { Payload } from "./index"; import { Server } from "../Server" export async function onConnect(this: Server, socket: WebSocket, data: Payload) { + socket.send(JSON.stringify({ + op: 15, + d: { any: 100 } + })) } \ No newline at end of file