Play Framework WebSocket Handling
<p>In the following bit of code:</p>

<pre><code>  def myRequest: WebSocket[JsValue, JsValue] =
    WebSocket.acceptWithActor[JsValue, JsValue] { request =&gt; out =&gt;

      val filtered: Set[Long] = // how to get the request body???

      WebSocketActor.props(filtered, out)
    }
</code></pre>

<p>How can I get access to the request body so that I could do some filtering on it before that content gets passed in to the Actor instance? The documentation from Play framework is not pretty clear. Any suggestions?</p>