how to use Hibernatable WebSockets API?

Is there any example to show how to use Hibernatable WebSockets API?

Just use state.acceptWebSocket, not use ws.accept()?
Was this page helpful?