txWebSocket
txWebSocket copied to clipboard
Twisted WebSocket Server, based on http://twistedmatrix.com/trac/ticket/4173
Following is the traceback from running the code. ``` Traceback (most recent call last): File "simple_server.py", line 72, in site = WebSocketSite(root) File "C:\Users\piyushdivyankar\Documents\Projects\asynchronous-programming\txW ebSocket-master\txWebSocket-master\websocket.py", line 279, in __init__ Site.__init__(self,...
if you call loseConnection on the WebSocketTransport it passes it on to the underlying Request, which then errbacks the notifications obtained with notifyFinish(), and WebSocketTransport then gets connectionLost on itself......
As specified in http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76#section-4.2 WebSocket frames can also be of type 0xFF, with a length specification followed by arbitrary data, that the server should discard. The first commit implements parsing...
These changes make txWebSocket support hybi-10, as explained in rlotun/txWebSocket#12 My hybi-10 branch relies on my binary-frames-closing-handshake, because of the makeStatefulDispatcher usage. This pull request incorporates both of these branches,...
The websocket implementation as a standalone wrapper for Twisted protocols (available at http://paste.pocoo.org/show/451569/ ) allows us to make a twisted protocols available over websocket I wrote a new class in...
Newest Chromium uses the hybi-10 version of the WebSocket protocol (http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10). See http://code.google.com/p/chromium/issues/detail?id=64470 for details. Both the handshake and the payload format have changed and currently txWebSocket does not work...
For my project, I'd want to be able to put a factory in the Web Socket hierarchy. Could this be implemented?
The protocol mentions that the challenge must be computed with concatenation of the keys as "sent on the wire" (the client should shuffle the headers). The current version always takes...