1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-27 18:21:14 +03:00
Files
okhttp/samples/guide
Jake Wharton 9631227619 Add a web socket call concept for connecting.
Similar to HTTP and Call, the WebSocketCall is a representation of a pending HTTP request and subsequent upgrade to speak web sockets. Upon synchronous execution you are handed a WebSocket instance for synchronous writing and also pass in a WebSocketListener for async callbacks due to reading.

The API changes in this commits also generalize WebSocket such that it's agnostic to being a client or server peer.
2014-12-31 23:13:07 -08:00
..