Trees | Indices | Help |
---|
|
object --+ | streams.ReadStream --+ | object --+ | | | streams.WriteStream --+ | WebSocket
Encapsulates an HTML 5 Websocket.
Instances of this class are created by an HttpClient instance when a client succeeds in a websocket handshake with a server. Once an instance has been obtained it can be used to s or receive buffers of data from the connection, a bit like a TCP socket.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Write data to the websocket as a binary frame Keyword arguments:
|
Write data to the websocket as a text frame Keyword arguments:
|
Set a closed handler on the connection, the handler receives a no parameters. This can be used as a decorator. Keyword arguments: handler - The handler to be called when writing has been completed. It is wrapped in a ClosedHandler. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Jan 13 17:19:26 2013 | http://epydoc.sourceforge.net |