Autobahn|Python, asyncio and WAMP

#1

Hi,

I’m trying to connect to my Ratchet 0.3 WAMP server using Autobahn|Python on asyncio and Python 3.3.

My first choice was twisted instead of asyncio, but it doesn’t seem to fully support Python 3.3 yet.

I can’t find an example on how to connect to a WAMP Server using the asyncio library.
Can anyone point me in the right direction please?

Thanks,
Rainer

0 Likes

#2

Hi,

I'm trying to connect to my Ratchet 0.3 WAMP server using
Autobahn>Python on asyncio and Python 3.3.

At this time, Autobahn|Python supports asyncio, but only for WebSocket, not WAMP.

In the future, Autobahn|Python will support WAMPv2 on asyncio. There are no plans to support asyncio/WAMPv1. In fact, Autobahn will deprecate WAMP v1 ..

Also: Ratchet 0.3 is still on WAMP v1. So you might want to look at

https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/wamp1

These examples are for WAMPv1 and run on Twisted. I'd recommend Python 2, since you are right in that Twisted has only partial support for Python 3.

My first choice was twisted instead of asyncio, but it doesn't seem to
fully support Python 3.3 yet.

I can't find an example on how to connect to a WAMP Server using the
asyncio library.

Not there (yet) ..

/Tobias

···

Am 03.03.2014 17:40, schrieb Rainer Furtmeier:

Can anyone point me in the right direction please?

Thanks,
Rainer

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Likes

#3

Thank you for your reply.

I’ll take a look at twisted and Python 2.7 then…

Regards,
Rainer

···

On Monday, March 3, 2014 5:40:50 PM UTC+1, Rainer Furtmeier wrote:

Hi,

I’m trying to connect to my Ratchet 0.3 WAMP server using Autobahn|Python on asyncio and Python 3.3.

My first choice was twisted instead of asyncio, but it doesn’t seem to fully support Python 3.3 yet.

I can’t find an example on how to connect to a WAMP Server using the asyncio library.
Can anyone point me in the right direction please?

Thanks,
Rainer

0 Likes