This commit is contained in:
2025-09-30 14:15:21 +05:30
parent 0a146c2169
commit c21ec7ba42
8 changed files with 326 additions and 1160 deletions
+15
View File
@@ -0,0 +1,15 @@
import socketio
import time
sio = socketio.Client()
sio.connect(
url = "http://localhost:5214",
namespaces = ["/test"]
)
while True:
sio.emit(
event = "echo",
data = {"k0": "v0", "k1": "v1"},
namespace = "/test"
)
print("Emitted!")
time.sleep(1)