0

request.ws_stream.receive_message() blocks. Is there an equivalent that doesn't? Can it be used with select?

ThinkingStiff
  • 64,767
  • 30
  • 146
  • 239
nmichaels
  • 49,466
  • 12
  • 107
  • 135

1 Answers1

2

It looks like the MessageReceiver class may provide asynchronous receiving and sending:

http://code.google.com/p/pywebsocket/source/browse/trunk/src/mod_pywebsocket/msgutil.py

kanaka
  • 70,845
  • 23
  • 144
  • 140