(self, site)
| 362 | return res |
| 363 | |
| 364 | def getWebsocket(self, site): |
| 365 | import websocket |
| 366 | |
| 367 | ws_address = "ws://%s:%s/Websocket?wrapper_key=%s" % (config.ui_ip, config.ui_port, site.settings["wrapper_key"]) |
| 368 | logging.info("Connecting to %s" % ws_address) |
| 369 | ws = websocket.create_connection(ws_address) |
| 370 | return ws |
| 371 | |
| 372 | def sitePublish(self, address, peer_ip=None, peer_port=15441, inner_path="content.json"): |
| 373 | global file_server |
no outgoing calls
no test coverage detected