/play-scala-websocket-example

Example Play Scala application showing WebSocket use with Akka actors

Primary LanguageScalaOtherNOASSERTION

Travis GitHub issues GitHub forks GitHub stars

play-websocket-scala-example

This is an example Play application that shows how to use Play's Websocket API in Scala, by showing a series of stock tickers updated using WebSocket.

The Websocket API is built on Akka Streams, and so is async, non-blocking, and backpressure aware. Using Akka Streams also means that interacting with Akka Actors is simple.

There are also tests showing how ScalaTest and Akka Testkit are used to test actors and flows.

For more information, please see the documentation for Websockets and Akka Streams: