From: Ben Darnell Date: Tue, 7 Sep 2010 22:19:21 +0000 (-0700) Subject: Fix error in comment X-Git-Tag: v1.1.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d93d9350c55d245c871b2558553c33eb74a68d;p=thirdparty%2Ftornado.git Fix error in comment --- diff --git a/tornado/websocket.py b/tornado/websocket.py index fac750073..b760fef6b 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().