deb-python-autobahn/examples
Thomas Goirand c041a7f2e5 Merge tag 'v0.14.1' into master+dfsg
tagged release

Conflicts:
	examples/twisted/wamp/app/hello/autobahn.min.js
	examples/twisted/wamp/app/hello/hello.py
	examples/twisted/wamp/app/serial2ws/README.md
	examples/twisted/wamp/app/serial2ws/autobahn.min.js
	examples/twisted/wamp/app/serial2ws/serial2ws.py
	examples/twisted/websocket/echo_wsfallbacks/README.md
	examples/twisted/websocket/echo_wsfallbacks/server.py
	examples/twisted/websocket/echo_wsfallbacks/web/index.html
2016-06-15 10:08:09 +02:00
..
asyncio cleanup links 2016-05-01 18:17:39 +02:00
router upgrade example router config to version 2 2016-03-30 09:48:15 -06:00
twisted Merge tag 'v0.14.1' into master+dfsg 2016-06-15 10:08:09 +02:00
Makefile fix pep8 2015-09-05 12:30:52 +02:00
README.md typo fixing 2015-12-03 21:55:56 +01:00
asciinema-autobahn-demo.py more cleanup 2016-05-01 18:11:06 +02:00
index.html correct paths for JS links 2015-06-17 14:37:14 -06:00
run-all-examples.py fix pep8 2015-09-05 12:30:52 +02:00
running-the-examples.md some fixes to project URLs 2015-10-20 15:52:48 +02:00

README.md

Autobahn|Python Examples

This folder contains complete working code examples that demonstrate various features of Autobahn|Python:

  1. Twisted-based Examples
  1. asyncio-based Examples

If you are new to Autobahn and WAMP, you should start with the following if you're going to use Twisted:

  • twisted/wamp/pubsub/basic/
  • twisted/wamp/rpc/arguments/

...whereas if you prefer asyncio:

  • asyncio/wamp/pubsub/basic/
  • asyncio/wamp/rpc/arguments/

Note that many of the examples use the same URIs for topics or RPC endpoints, so you can mix and match which backend or frontend script (whether Python or JavaScript) you use. For example, a Web browser tab could load a backend.html page that does publishes while you run a Python frontend.py that subscribes to those topics.

Set up locally to run the examples.