comparison src/browser/sat_browser/json.py @ 869:fa7703642c0e

server, browser: replaced isRegistered call by a more generic getSessionMetadata which return a dictionary
author Goffi <goffi@goffi.org>
date Mon, 29 Feb 2016 12:37:45 +0100
parents c1907a460f6a
children e8b133b77aa4
comparison
equal deleted inserted replaced
868:a12f8d138ae2 869:fa7703642c0e
165 165
166 166
167 class RegisterCall(LiberviaJsonProxy): 167 class RegisterCall(LiberviaJsonProxy):
168 def __init__(self): 168 def __init__(self):
169 LiberviaJsonProxy.__init__(self, "/register_api", 169 LiberviaJsonProxy.__init__(self, "/register_api",
170 ["isRegistered", "isConnected", "asyncConnect", "registerParams", "getMenus"]) 170 ["getSessionMetadata", "isConnected", "asyncConnect", "registerParams", "getMenus"])
171 171
172 172
173 class BridgeCall(LiberviaJsonProxy): 173 class BridgeCall(LiberviaJsonProxy):
174 def __init__(self): 174 def __init__(self):
175 LiberviaJsonProxy.__init__(self, "/json_api", 175 LiberviaJsonProxy.__init__(self, "/json_api",