Package-level declarations
Types
Link copied to clipboard
class OkHttpSocketConnector(client: OkHttpClient = OkHttpClient(), userAgent: String? = null) : SocketConnector
Real sockets over OkHttp. No Origin header is sent (app sockets do not need one).
Link copied to clipboard
interface SocketConnection
One open WebSocket. OkHttpSocketConnector makes real ones; tests use an in-memory fake.
Link copied to clipboard
Opens a socket to url; throws when the connection cannot be established.