avalonx / play-scala-websocket-example

Example Play Scala application showing WebSocket use with Akka actors

Home Page:https://www.playframework.com/documentation/2.5.x/ScalaWebSockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Example Play Scala application showing WebSocket use with Akka actors

https://www.playframework.com/documentation/2.5.x/ScalaWebSockets

License:Other


Languages

Language:Scala 57.9%Language:HTML 25.9%Language:CoffeeScript 8.0%Language:CSS 4.3%Language:Java 3.9%