OK! Finally have got the JS and Akka Stream Server talking to each other!
WOOHOO!
Found the link to the full GitHub example which is currently linked to the
API docs, and available here:
https://github.com/akka/akka/blob/v2.4.9/akka-docs/rst/scala/code/docs/http/scaladsl/server/WebSocketExamp
OK; so back on this after a bit of a break!
I just want to successfully get a WebSocket connection from Javascript
direct to a Akka-Streams Web Server.
I get this error message in the Chrome Dev Tools Console; then Googled
around for it, but haven't got anything useful yet:
/*
ERROR:
WebSock
Hi!
Just getting back to this; and THANKS for the sbt dependencies info -- I'll
have to try that out.
It looks like I already had the http testkit; but you're using an
additional "test" specifier ...;
and then your ScalaTest note is helpful too.
Would be awesome for Scala/Akka to have the equival
Hi Dagny,
The dependency you need is akka-http-testkit, so in sbt an entry like
this: "com.typesafe.akka"
%% "akka-http-testkit" % akkaV % "test"
It also depends on scalatest, we use version 2.2.1 and I see you have put a
dependency on a snapshot of Scalatest 3, this may cause some problems, you
s
TYPO! My latest WebSocketServer experiment is ACTUALLY in:
- streamsWebSocket.scala
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: