readLine

common
abstract fun readLine(): String?

Reads a JSON message from the socket, blocking until a message is received or returning null if the socket closes.