We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a2e54 commit 2a54f6cCopy full SHA for 2a54f6c
2 files changed
examples/client/asyncio/latency_client.py
@@ -20,7 +20,7 @@ async def connect():
20
21
22
@sio.event
23
-async def pong_from_server(data):
+async def pong_from_server():
24
global start_timer
25
latency = time.time() - start_timer
26
print('latency is {0:.2f} ms'.format(latency * 1000))
examples/client/threads/latency_client.py
@@ -1,7 +1,7 @@
1
import time
2
import socketio
3
4
-sio = socketio.Client()
+sio = socketio.Client(engineio_logger=True)
5
start_timer = None
6
7
@@ -18,7 +18,7 @@ def connect():
18
19
-def pong_from_server(data):
+def pong_from_server():
0 commit comments