SocketConnection
interface SocketConnection
One open WebSocket. OkHttpSocketConnector makes real ones; tests use an in-memory fake.
Properties
Link copied to clipboard
The close reason once closed.
Link copied to clipboard
Text frames from the server, collected once. The flow completes when the socket closes; read closeCode and closeReason after that.