readContent

open fun readContent(): String

Method to read a content message received with the socket request No-any params required

Return

content message received as String

Throws

when some errors have been occurred


open fun readContent(targetSocket: Socket): String

Method to read a content message received with the socket request

Return

content message received as String

Parameters

targetSocket

: target socket to use to receive the content message

Throws

when some errors have been occurred