mirror of
https://github.com/wisplite/tether.git
synced 2026-05-01 06:22:41 -05:00
update to use newer client (this is still very broken)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { TetherClient } from "tether-ts";
|
||||
|
||||
const client = new TetherClient();
|
||||
client.connect("ws://localhost:8080/tether");
|
||||
|
||||
client.subscribe("messages", (message) => {
|
||||
console.log("Received message", message);
|
||||
});
|
||||
Reference in New Issue
Block a user