Web Sockets now shipping in OkHttp 3.5!
[]
Jake Wharton
Connect a web socket by passing a request to the newWebSocket() method along with a listener for server-sent messages. Because OkHttp uses its own thread for sending messages, you can call send from any thread (even Android’s main thread). The history of web sockets and OkHttp goes back three years to an unreleased Android version of PonyDebugger, an implementation of the Chrome DevTools protocol to inspect and alter debug-versions of running apps on your device.