]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix error in comment
authorBen Darnell <ben@bendarnell.com>
Tue, 7 Sep 2010 22:19:21 +0000 (15:19 -0700)
committerBen Darnell <ben@bendarnell.com>
Tue, 7 Sep 2010 22:19:21 +0000 (15:19 -0700)
tornado/websocket.py

index fac750073e7fd476a253683ec06a522539f7d8aa..b760fef6b5427bfdcf34ef564d4e92315553befa 100644 (file)
@@ -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().