Enabling secure web socket support in Akka HTTP
<p>How to enable support for secure web socket in Akka HTTP version 2.0.* ? I was not able to find any specific directive for this or any hints in the official documentation, please help.</p>

<p>My current approach is the following:</p>

<pre><code>val handler:Flow[Message, Message, Unit]

val route:Route = path("ws") {
  get {
    handleWebsocketMessages(wsService(wsHandlerProps))
  }
}
</code></pre>