Skip to content

Instantly share code, notes, and snippets.

@cablehead
Created February 18, 2016 03:40
Show Gist options
  • Save cablehead/c20f1308babf5282f27e to your computer and use it in GitHub Desktop.
Save cablehead/c20f1308babf5282f27e to your computer and use it in GitHub Desktop.
h = vanilla.Hub()
uri = 'ws://localhost:%s' % serve.port
ws = h.http.connect(uri).websocket('/')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment