Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
python tornado初心者です。現在webサイトを構築中です。ボタンを押してサーバーに引数を送りたいのですが、tornadoでどうキャッチしたらいいのかわかりません。どのボタンが押されたかを知るにはどうすればよいですか?
tornado.websocket.WebSocketHandler からサブクラス化する websocket ハンドラー クラスを作成する必要があります)。ハンドラー クラスで on_message メソッドをオーバーライドします。
http://www.tornadoweb.org/en/branch2.4/websocket.html