Created
December 13, 2017 22:39
-
-
Save spiiin/5f425e2c769e766bb5fb8d4a51b65bbc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from autobahn.twisted.wamp import ApplicationRunner | |
from os import environ | |
class MyBackend(ApplicationSession): | |
#code of backend skipped | |
runner = ApplicationRunner( | |
environ.get("AUTOBAHN_DEMO_ROUTER", u"wss://example.com:8080/ws"), | |
u"realm1", | |
) | |
runner.run(MyBackend) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment