Would anyone have advice about how to connect a web socket to actionhero without using actionheroClient.js?
Our software client will be Unity3D, and we'll talk to an ActionHero server. They want some real-time updates as well, so a WebSocket connection what we'll use. However, I find it unlikely that they will use the actionheroClient.js file and I'd like to have an example they can use to test the web socket connections.
A new AH project has the `ws` dependency, and I tried
their docs to connect, but it wasn't that simple to connect to localhost:8080. (snippet from their docs below).
Whatever software library is chosen for the client app, I'd be looking to make the actionhero server able to communicate with it. Has anyone else made a web socket connection that didn't use actionheroClient.js?
Thanks,
Clay
$ npm install -g ws
$ wscat -c ws://echo.websocket.org
connected (press CTRL+C to quit)
> hi there
< hi there
> are you a happy parrot?
< are you a happy parrot?