mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
commit
This commit is contained in:
parent
555ae496a5
commit
b448c5505b
20 changed files with 104 additions and 71 deletions
|
@ -1,5 +1,6 @@
|
|||
import { BareClient } from "@mercuryworkshop/bare-mux"
|
||||
const client = new BareClient()
|
||||
import { BareClient } from "../index";
|
||||
const client = new BareClient();
|
||||
|
||||
WebSocket = new Proxy(WebSocket, {
|
||||
construct(target, args) {
|
||||
return client.createWebSocket(
|
||||
|
@ -12,4 +13,4 @@ WebSocket = new Proxy(WebSocket, {
|
|||
ArrayBuffer.prototype
|
||||
)
|
||||
}
|
||||
});
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue