PersistentSocketWrapper

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

Companion
Link copied to clipboard
synchronousClient
object Companion

Functions

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