Commit e2c61265 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Updated docstring

parent a784b98f
...@@ -27,7 +27,7 @@ class Connection(object): ...@@ -27,7 +27,7 @@ class Connection(object):
>>> print 'Received message "%s"' % message.payload >>> print 'Received message "%s"' % message.payload
>>> self.send(wspy.TextMessage(message.payload)) >>> self.send(wspy.TextMessage(message.payload))
>>> def onclose(self, message): >>> def onclose(self, code, reason):
>>> print 'Connection closed' >>> print 'Connection closed'
>>> server = wspy.websocket() >>> server = wspy.websocket()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment