Split master and slave websocket endpoints

This commit is contained in:
Ian Gulliver
2016-05-04 23:39:40 +00:00
parent 5e4ce142c3
commit 546f032b4f
2 changed files with 53 additions and 18 deletions

View File

@@ -57,7 +57,7 @@ def main():
'certfile': FLAGS.https_client_cert,
'ca_certs': FLAGS.https_ca_cert,
}
client = Client('wss://%s/ws' % FLAGS.server, protocols=['http-only', 'chat'], ssl_options=ssl_options)
client = Client('wss://%s/ws/slave' % FLAGS.server, protocols=['http-only', 'chat'], ssl_options=ssl_options)
client.Loop()