This is an example for using WebSockets in WBS.

The instructions are in this blog.