Play2 create client websocket
Asked Answered
K

2

6

How can I create client WebSocket in Play2 using Scala?

Should I use external library? I found: http://backchatio.github.io/hookup/

Do you know any alternatives?

Karlakarlan answered 10/4, 2014 at 19:31 Comment(0)
A
0

I believe play currently lacks client side web sockets but this may change in future as Akka-HTTP is integrated with play. However for now since you can call java from scala you can use javax.websocket or jboss.netty.

Alfalfa answered 27/7, 2015 at 16:58 Comment(0)
E
-2

A good example for Play 2 Scala Websocket (both client-side and server-side) can be found here:

https://github.com/playframework/playframework/tree/2.2.2/samples/scala/websocket-chat

Ethanethane answered 10/4, 2014 at 21:26 Comment(1)
I saw this project, I want to create websocket client on server-sideJusticiar

© 2022 - 2024 — McMap. All rights reserved.