|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, request) |
| def | run (self) |
| def | send (self, message) |
| def | send_nowait (self, message) |
This class sends messages to the client. This class provides both synchronous and asynchronous ways to send messages. Note: This class should not be used with the standalone server for wss because pyOpenSSL used by the server raises a fatal error if the socket is accessed from multiple threads.
| def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.__init__ | ( | self, | |
| request | |||
| ) |
Construct an instance.
Args:
request: mod_python request.
| def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.run | ( | self | ) |
| def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.send | ( | self, | |
| message | |||
| ) |
Send a message, blocking.
| def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.send_nowait | ( | self, | |
| message | |||
| ) |
Send a message, non-blocking.
1.8.13