MCPcopy Create free account
hub / github.com/EasyIME/PIME / on_message

Method on_message

python/python3/tornado/test/websocket_test.py:190–193  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

188 self.open_finished = True
189
190 def on_message(self, message):
191 if not self.open_finished:
192 raise Exception("on_message called before open finished")
193 self.write_message("ok")
194
195
196class ErrorInOpenHandler(TestWebSocketHandler):

Callers

nothing calls this directly

Calls 1

write_messageMethod · 0.45

Tested by

no test coverage detected