]> git.ipfire.org Git - thirdparty/tornado.git/commit
Refactor WebSocket support to prepare for multiple protocol versions.
authorFlorian Diebold <flodiebold@gmail.com>
Sat, 9 Jul 2011 20:33:21 +0000 (22:33 +0200)
committerFlorian Diebold <flodiebold@gmail.com>
Wed, 13 Jul 2011 19:26:54 +0000 (21:26 +0200)
commit48e60770c5e27c06de7e8c176bff1f34418e566e
tree9c96923284ab52dcf5c3e6cf88522a68f68a7653
parent2ee58f1f29c2cd3ecd3c3b143b180c9531ddeaf2
Refactor WebSocket support to prepare for multiple protocol versions.

All protocol-specific functions are moved to the former
WebSocketRequest class, which is renamed to WebSocketProtocol76. The
WebSocketHandler chooses the right WebSocketProtocol implementation by
looking at the request headers.
tornado/websocket.py