From e6d93d9350c55d245c871b2558553c33eb74a68d Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Tue, 7 Sep 2010 15:19:21 -0700 Subject: [PATCH] Fix error in comment --- tornado/websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/websocket.py b/tornado/websocket.py index fac75007..b760fef6 100644 --- a/tornado/websocket.py +++ b/tornado/websocket.py @@ -49,7 +49,7 @@ class WebSocketHandler(tornado.web.RequestHandler): Web Sockets are not standard HTTP connections. The "handshake" is HTTP, but after the handshake, the protocol is message-based. Consequently, most of the Tornado HTTP facilities are not available in handlers of this - type. The only communication methods available to you are send_message() + type. The only communication methods available to you are write_message() and close(). Likewise, your request handler class should implement open() method rather than get() or post().