Taddeus Kroes
|
fa6f57d655
Started testing and debugging:
|
12 years ago |
Taddeus Kroes
|
6807fc3fb3
Changed onexception() to onerror(), fixed some typo's
|
12 years ago |
Taddeus Kroes
|
bd6d116d75
Added JSONMessage and some comments + code cleanup
|
12 years ago |
Taddeus Kroes
|
a6952f5b27
Changed InvalidRequest to HandshakeError
|
13 years ago |
Taddeus Kroes
|
53d9f210ab
Rewrote Server/Client using new websocket API
|
13 years ago |
Taddeus Kroes
|
21fd3631fb
Added thread mutex to client.send_frame() because Server and Client may call it simultaneously
|
13 years ago |
Taddeus Kroes
|
7b56e72803
Server now closes all client connections after keyboard interrupt
|
13 years ago |
Taddeus Kroes
|
0991900692
WebSocket.receive_forever() now handles exceptions without crashing
|
13 years ago |
Taddeus Kroes
|
a95914e817
Code cleanup
|
13 years ago |
Taddeus Kroes
|
0de6f6443c
Client now delegates onping() and onpong() to Server for consistency
|
13 years ago |
Taddeus Kroes
|
3c5d9c4a9c
Default handlers of Client now log events
|
13 years ago |
Taddeus Kroes
|
92cde0c79f
Minor bugfix
|
13 years ago |
Taddeus Kroes
|
a992f35289
Imprroved handshake in terms of execptions, some minor bugfixes too
|
13 years ago |
Taddeus Kroes
|
35d64484b3
Improved a function name
|
13 years ago |
Taddeus Kroes
|
ff54ce821c
Rewrote FrameReceiver to two cleaner functions
|
13 years ago |
Taddeus Kroes
|
82ac7d7245
Removed some deprecated function calls
|
13 years ago |
Taddeus Kroes
|
09ed63b1e1
Fixed function parameter order
|
13 years ago |
Taddeus Kroes
|
390212edff
Code cleanup
|
13 years ago |
Taddeus Kroes
|
8034989372
Code cleanup
|
13 years ago |
Taddeus Kroes
|
c4893fa10a
Added Server/Client classes which allow multiple WebSocket instances to run in different threads
|
13 years ago |