webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender Class Reference
Inheritance diagram for webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender:

Public Member Functions

def __init__ (self, request)
 
def run (self)
 
def send (self, message)
 
def send_nowait (self, message)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.__init__ (   self,
  request 
)
Construct an instance.

Args:
    request: mod_python request.

Member Function Documentation

◆ run()

def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.run (   self)

◆ send()

def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.send (   self,
  message 
)
Send a message, blocking.

◆ send_nowait()

def webkitpy.thirdparty.mod_pywebsocket.msgutil.MessageSender.send_nowait (   self,
  message 
)
Send a message, non-blocking.

The documentation for this class was generated from the following file: