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

Method on_message

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

Source from the content-addressed store, hash-verified

153
154class RenderMessageHandler(TestWebSocketHandler):
155 def on_message(self, message):
156 self.write_message(self.render_string("message.html", message=message))
157
158
159class SubprotocolHandler(TestWebSocketHandler):

Callers

nothing calls this directly

Calls 2

write_messageMethod · 0.45
render_stringMethod · 0.45

Tested by

no test coverage detected