Before most of the basic data collection is http also have been questions about how to collect real-time data websocket, do not know the where to start, unable to do anything, today saw an article in the collection websocket know peace, said very thorough
Finally resolved this question in detail you can see the original, graphic analysis is very clear.