SocketWrapper

expect class SocketWrapper : SocketCommunicator

A wrapper for a socket that makes new socket connections for every request and closes the connection after a request. making it thread safe.

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

Properties

Link copied to clipboard
expect val actualSocketPath: String