I cannot use wss:// in my simple WebSocket app created with Play!Framework 2.2. It echoes the message back. The endpoint is like this
wss://
def indexW
wss works fine with Play 2.6.
wss
Instead of hardcode the websocket url, you can get the url via routes:
@import play.api.mvc.RequestHeader @import controllers.routes @()(implicit request: RequestHeader) ... ...