Started refactor the webclient to use new system server-side. Renamed webclient.py to webclient_ajax.py and websocket_client.py to simpy webclient.py, since websocket is the standard now.
This commit is contained in:
parent
2d826df2f4
commit
7ad1229a7b
6 changed files with 473 additions and 462 deletions
|
|
@ -294,9 +294,13 @@ class PortalSessionHandler(SessionHandler):
|
|||
Args:
|
||||
message (str): Message to relay.
|
||||
|
||||
Notes:
|
||||
This will create an on-the fly text-type
|
||||
send command.
|
||||
|
||||
"""
|
||||
for session in self.values():
|
||||
session.data_out(text=message)
|
||||
session.data_out(text=(message,))
|
||||
|
||||
def data_in(self, session, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue