How to read PLay! API docs?
<p>Searching for method for method <code>WebSocket.accept</code> leads to : <a href="https://www.playframework.com/documentation/2.5.x/api/scala/index.html#play.api.mvc.WebSocket" rel="nofollow noreferrer">https://www.playframework.com/documentation/2.5.x/api/scala/index.html#play.api.mvc.WebSocket</a> where the only method mentioned described is : </p>

<p><a href="https://i.stack.imgur.com/azst3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/azst3.jpg" alt="enter image description here"></a></p>

<p>It appears the <code>accept</code> method is not a member of <code>WebSocket</code> ?</p>

<hr>

<p>Searching with Google I find method defined in javadoc : </p>

<p><a href="https://i.stack.imgur.com/VMi1X.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VMi1X.jpg" alt="enter image description here"></a></p>

<p><a href="https://www.playframework.com/documentation/2.6.x/api/java/play/mvc/WebSocket.MappedWebSocketAcceptor.html" rel="nofollow noreferrer">https://www.playframework.com/documentation/2.6.x/api/java/play/mvc/WebSocket.MappedWebSocketAcceptor.html</a></p>

<p>But this does'nt describe the Scala version.</p>

<p>Where is the scala doc for WebSocket.accept ?</p>