autobahnjs and CRA

#1

Hi there. I see no tuts or examples for WAMP-CRA in the autobahn.js documentation. Is it available?

Thanks.

0 Likes

#2

I’ve noticed that there is WAMP-CRA in the WAMP v1 code… so do I need to use that? Or was that functionality carried forward to the WAMP v2 Code? Help? Pls?

0 Likes

#3

Further to this… I just installed node.js on my machine and used the package manager to install the autobahn module as per the autobahn docs.

I found the module code in node/node_modules/autobahn/lib

I did my super technological code check:

grep -i cra *

And there is no instance of cra at all in the code. So I am now at a standstill. I need a WAMP-CRA connection to connect with the autobahn-python server I already made.

In my wamp server code:

cat _version.py

version = “0.6.5”

0 Likes

#4

Gene,

Further to this.... I just installed node.js on my machine and used the
package manager to install the autobahn module as per the autobahn docs.

I found the module code in node/node_modules/autobahn/lib

I did my super technological code check:

grep -i cra *

And there is no instance of cra at all in the code. So I am now at a
standstill. I need a WAMP-CRA connection to connect with the
autobahn-python server I already made.

In my wamp server code:

cat _version.py
...
__version__ = "0.6.5"

This version of AutobahnPython only implements WAMP v1. And for use with WAMP v1, you need to use the legacy AutobahnJS (like mentioned on root documentation page) .. pls see here:

http://autobahn.ws/js/reference_wampv1.html

WAMP-CRA is not yet implemented in WAMP v2 with Autobahn. Regarding AutobahnJS that's pretty much the last thing missing vs legacy library version.

Cheers,
/Tobias

···

Am 13.04.2014 18:25, schrieb Gene Horodecki:

--
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
<mailto:autobahnws+...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

0 Likes

#5

Thank you for your response. I was using the node.js package manager to install autobahn-- does this mean that I need to install the module manually? Or do you know if I can specify an older version with the node.js package manager.

I appreciate the clarification.

0 Likes

#6

Further to this, it appears that npm does allow a version specification. However:

npm install autobahn@0.8.2

this is the command but it gives me an error.

0 Likes

#7

By the way… I don’t try to find the last unimplemented things in projects, it just seems to be a talent that I have.

Any help you could send is appreciated.

0 Likes

#8

The old AutobahnJS does not run on Node. It only runs in browser environments.

···

Am 13.04.2014 23:06, schrieb Gene Horodecki:

Thank you for your response. I was using the node.js package manager to
install autobahn-- does this mean that I need to install the module
manually? Or do you know if I can specify an older version with the
node.js package manager.

0 Likes

#9

Ok, part of being on the bleeding edge I guess.

I was just going to execute many node.js instances, each acting as autonomous automated clients hitting my project to test certain limits.

I could not see starting many browsers to act as many clients. Is there some way to do the same thing that I am not seeing?

0 Likes

#10

I wansnt thinking. I can just do many python clients. I was just looking too hard for a node project.

0 Likes