facebookarchive / network-connection-class

Listen to current network traffic in the app and categorize the quality of the network.
Other
3.19k stars 515 forks source link

Question: Is it possible to use it with WebSocket? #18

Open Zeliret opened 8 years ago

Zeliret commented 8 years ago

I have a WebSocket connection in my app. I call DeviceBandwidthSampler.getInstance().startSampling() right after the connection is established but my ConnectionClassStateChangeListener is never called. :( If I use the Sampler before any http request, it works as in the example.