OK!  Finally have got the JS and Akka Stream Server talking to each other! 

Found the link to the full GitHub example which is currently linked to the 
API docs, and available here:

Now, I just need to read up on the proper Testkit usage for that!

On Wednesday, August 31, 2016 at 1:23:36 PM UTC-7, Dagny T wrote:
> Newbie Testing WebSocket on Stream.  
> Needed to verify I'm following best-practices on the basics for this!
> Please refer to my Repo:
> https://github.com/DagnyTagg2013/ScalaReactive/tree/master/newbie
> 1) Tried initiating Web Socket Connection JS Client: basicWebSockets.js
> then handling it on an Akka Streams Server with an Http Request Handler: 
> firstWebSocketServer.scala
> 2) Tried to test Server with Akka TestKit; but missing build.sbt 
> dependencies for WS(...) and RoutingSpec(...)
> - Test code here: testWebSocketServer2.scala
> - Dependencies here:  build.sbt
> If someone could please comment on how to:
> - successfully get a WebSocket connection from (1) -- am I setting up the 
> JS and Scala connection correctly?
> - successfully get the test dependencies to build from (2) -- am I using 
> the correct version of Akka Test libraries to work the the code in 
> testWebSocketServer2?
> THANKS a lot!
> D

>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to