wrote documentation for WebSocket stream