Files
deb-python-websocket-client/README
Hiroki Ohtani a1538ab23f fix README
2011-01-04 12:54:47 +09:00

25 lines
599 B
Plaintext

=================
websocket-client
=================
websocket-client module is WebSocket client for python. This provide the low level APIs for WebSocket. All APIs are the synchronous functions.
Installation
=============
This module is tested on only Python 2.7.
Type "python setup.py install" to install.
Example
========
::
from websocket import create_connection
ws = create_connection("ws://localhost:5000/echo")
print "Sending 'Hello, World'..."
ws.send("Hello, World")
print "Sent"
print "Reeiving..."
result = ws.recv()
print "Received '%s'" % result