websocket as service and operations