Reputation: 53806
Searching for method for method WebSocket.accept
leads to : https://www.playframework.com/documentation/2.5.x/api/scala/index.html#play.api.mvc.WebSocket where the only method mentioned described is :
It appears the accept
method is not a member of WebSocket
?
Searching with Google I find method defined in javadoc :
But this does'nt describe the Scala version.
Where is the scala doc for WebSocket.accept ?
Upvotes: 1
Views: 54
Reputation: 12986
accept
is a member of the WebSocket
object. The link you provide is to a trait. See here: https://www.playframework.com/documentation/2.5.x/api/scala/index.html#play.api.mvc.WebSocket$
Upvotes: 2