MCPcopy
hub / github.com/miguelgrinberg/Flask-SocketIO / message

Function message

test_socketio.py:57–67  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

55
56@socketio.event
57def message(message):
58 send(message)
59 if message == 'test session':
60 if not socketio.manage_session and 'a' in session:
61 raise RuntimeError('session is being stored')
62 if 'a' not in session:
63 session['a'] = 'b'
64 else:
65 session['a'] = 'c'
66 if message not in "test noackargs":
67 return message
68
69
70@socketio.on('json')

Callers

nothing calls this directly

Calls 1

sendFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…