OkHttpSocketConnector
class OkHttpSocketConnector(client: OkHttpClient = OkHttpClient(), userAgent: String? = null) : SocketConnector
Real sockets over OkHttp. No Origin header is sent (app sockets do not need one).
Functions
Link copied to clipboard
Opens a socket to url (ws:// or wss://).