PersistentSocketWrapper

expect class PersistentSocketWrapper : SocketCommunicator

A wrapper for a socket that maintains a socket connection for every request, ideal for receiving chat messages after a subscribe request.

Types

Link copied to clipboard
expect object Companion

Functions

Link copied to clipboard
expect open override fun close()
Link copied to clipboard
abstract fun readLine(): String?
Link copied to clipboard
abstract fun submit(request: String): String