publish websocket