feat(new tool): WebSocket Tester

Fix #928
This commit is contained in:
sharevb 2024-09-01 18:59:59 +02:00 committed by ShareVB
parent 87984e2081
commit 9347c9f034
8 changed files with 428 additions and 11 deletions

View file

@ -0,0 +1,14 @@
declare module "w-websocket-client/dist/w-websocket-client.umd.js" {
export default class WSC {
constructor(options: {
url: string
token: string
open?: () => void
close?: () => void
message?: (data: any) => void
error?: (err: any) => void
});
send(data: any): void
}
}