0

Using WAMP over Websocket, with AutobahnPy server and AutobahnJS client. I'd like to call a PRC method on the client from the server side, ie. I'd like my RPC to be symmetric. There is an example with symmetric RPC, but both sides are implemented in Python.

Is it possible to do it with a Javascript client? Looking through the docs and the source, I can't find a Javascript equivalent of registerForRpc function.

klozovin
  • 2,363
  • 2
  • 22
  • 30
  • 1
    AutobahnJS does not yet have symmetric RPC support (you can't expose an RPC endpoint). – oberstet Dec 05 '13 at 19:07
  • @oberstet but what about that Python example on the Github? Is that not symmetric RPC? It even says so in the name of the example! – klozovin Dec 06 '13 at 07:46
  • 1
    Yes, thats symmetric RPC. AutobahnPython has support for symmetric RPC, but not AutobahnJS. – oberstet Dec 06 '13 at 09:10
  • @oberstet thanks for the reply! Just one more thing: that means the WAMP protocol is capable of symmetric RPC, just that the JS client does not support it? I'm looking into writing a Dart client, and would love to have symmetric RPC support, if possible. – klozovin Dec 06 '13 at 11:45
  • 1
    Yes, WAMPv1 has basic support for symmetric RPC - and AutobahnPython supports that. And yes, AutobahnJS just does not yet support it. – oberstet Dec 06 '13 at 12:11

0 Answers0