comparison libervia/server/classes.py @ 1186:352865f4a268

server: added a generic way to have notification messages in pages
author Goffi <goffi@goffi.org>
date Sun, 26 May 2019 22:16:07 +0200
parents 7d6c0e5d5f34
children 987595a254b0
comparison
equal deleted inserted replaced
1185:7d6c0e5d5f34 1186:352865f4a268
21 21
22 22
23 from collections import namedtuple 23 from collections import namedtuple
24 24
25 WebsocketMeta = namedtuple("WebsocketMeta", ("url", "token", "debug")) 25 WebsocketMeta = namedtuple("WebsocketMeta", ("url", "token", "debug"))
26 Notification = namedtuple("Notification", ("message", "level"))