updated readme + doc to include WAMP/asyncio
This commit is contained in:
@@ -25,8 +25,8 @@ Basic Examples
|
||||
* Testee: `Twisted <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/websocket/testee>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/blob/master/examples/asyncio/websocket/testee>`__
|
||||
|
||||
|
||||
Additional Examples (all for Twisted)
|
||||
+++++++++++++++++++++++++++++++++++++
|
||||
Additional Examples (Twisted only)
|
||||
++++++++++++++++++++++++++++++++++
|
||||
|
||||
* `Broadcasting over WebSocket <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/websocket/broadcast>`_
|
||||
* `WebSocket Compression <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/websocket/echo_compressed>`_
|
||||
@@ -53,31 +53,31 @@ WAMP v2
|
||||
Publish & Subscribe (PubSub)
|
||||
++++++++++++++++++++++++++++
|
||||
|
||||
* `Basic <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/basic>`_ - Demonstrates basic publish and subscribe.
|
||||
* Basic `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/basic>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/pubsub/basic>`__ - Demonstrates basic publish and subscribe.
|
||||
|
||||
* `Complex <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/complex>`_ - Demonstrates publish and subscribe with complex events.
|
||||
* Complex `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/complex>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/pubsub/complex>`__ - Demonstrates publish and subscribe with complex events.
|
||||
|
||||
* `Options <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/options>`__ - Using options with PubSub.
|
||||
* Options `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/options>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/pubsub/options>`__ - Using options with PubSub.
|
||||
|
||||
* `Unsubscribe <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/unsubscribe>`_ - Cancel a subscription to a topic.
|
||||
* Unsubscribe `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/pubsub/unsubscribe>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/pubsub/unsubscribe>`__ - Cancel a subscription to a topic.
|
||||
|
||||
|
||||
Remote Procedure Calls (RPC)
|
||||
++++++++++++++++++++++++++++
|
||||
|
||||
* `Time Service <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/timeservice>`_ - A trivial time service - demonstrates basic remote procedure feature.
|
||||
* Time Service `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/timeservice>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/timeservice>`__ - A trivial time service - demonstrates basic remote procedure feature.
|
||||
|
||||
* `Slow Square <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/slowsquare>`_ - Demonstrates procedures which return promises and return asynchronously.
|
||||
* Slow Square `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/slowsquare>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/slowsquare>`__ - Demonstrates procedures which return promises and return asynchronously.
|
||||
|
||||
* `Arguments <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/arguments>`_ - Demonstrates all variants of call arguments.
|
||||
* Arguments `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/arguments>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/arguments>`__ - Demonstrates all variants of call arguments.
|
||||
|
||||
* `Complex Result <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/complex>`_ - Demonstrates complex call results (call results with more than one positional or keyword results).
|
||||
* Complex Result `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/complex>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/complex>`__ - Demonstrates complex call results (call results with more than one positional or keyword results).
|
||||
|
||||
* `Errors <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/errors>`_ - Demonstrates error raising and catching over remote procedures.
|
||||
* Errors `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/errors>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/errors>`__ - Demonstrates error raising and catching over remote procedures.
|
||||
|
||||
* `Progressive Results <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/progress>`_ - Demonstrates calling remote procedures that produce progressive results.
|
||||
* Progressive Results `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/progress>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/progress>`__ - Demonstrates calling remote procedures that produce progressive results.
|
||||
|
||||
* `Options <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/options>`_ - Using options with RPC.
|
||||
* Options `Twisted <https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp/basic/rpc/options>`__ - `asyncio <https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/wamp/basic/rpc/options>`__ - Using options with RPC.
|
||||
|
||||
|
||||
WAMP v1
|
||||
|
||||
@@ -119,8 +119,8 @@ A sample WAMP application component implementing all client roles:
|
||||
|
||||
Complete example code:
|
||||
|
||||
* `server <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/beginner/server.py>`_ which provides a remote procedure enpoint and publishes to a topic
|
||||
* `client <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/beginner/client.py>`_ lient which calls the procedure and subscribes to the topic
|
||||
* **server**, which provides a remote procedure enpoint and publishes to a topic - `Twisted <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/beginner/server.py>`_ - `asyncio <https://github.com/tavendo/AutobahnPython/blob/master/examples/asyncio/wamp/beginner/server.py>`_
|
||||
* **client**, which calls the procedure and subscribes to the topic - `Twisted <https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/beginner/client.py>`_ - `asyncio <https://github.com/tavendo/AutobahnPython/blob/master/examples/asyncio/wamp/beginner/client.py>`_
|
||||
|
||||
There are many more examples showing options and advanced features, listed on the :doc:`example overview page <examples>`.
|
||||
|
||||
@@ -129,8 +129,6 @@ There are many more examples showing options and advanced features, listed on th
|
||||
|
||||
* WAMP application components can be run in servers and clients without any modification to your component class.
|
||||
|
||||
* While |ab| supports both `Twisted`_ and `asyncio`_ for WebSocket code, WAMP is currently only supported on Twisted.
|
||||
|
||||
* `AutobahnJS`_ allows you to write WAMP application components in JavaScript which run in browsers and Nodejs. Here is how above example `looks like <https://github.com/tavendo/AutobahnJS/#show-me-some-code>`_ in JavaScript.
|
||||
|
||||
|
||||
@@ -149,7 +147,7 @@ Features
|
||||
* best-in-class standards conformance (100% strict passes with `AutobahnTestsuite`_)
|
||||
* message-, frame- and streaming-APIs for WebSocket
|
||||
* supports TLS (secure WebSocket) and proxies
|
||||
* Open-source (Apache 2 `license <https://github.com/tavendo/AutobahnPython/blob/master/LICENSE>`_)
|
||||
* Open-source (`Apache 2 license <https://github.com/tavendo/AutobahnPython/blob/master/LICENSE>`_)
|
||||
|
||||
|
||||
Python support
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Programming with WebSocekt
|
||||
==========================
|
||||
|
||||
.. note:: Content will be added to this section in the near future. For now, please take a look at the :ref:`WebSocket Examples <websocket_examples>` and the ref:`WebSocket Reference <websocket_reference>`.
|
||||
.. note:: Content will be added to this section in the near future. For now, please take a look at the :ref:`WebSocket Examples <websocket_examples>` and the :ref:`WebSocket Reference <websocket_reference>`.
|
||||
|
||||
|
||||
Upgrading from Autobahn < 0.7.0
|
||||
|
||||
Reference in New Issue
Block a user