readContent

open fun readContent(targetSocket: Socket): String

Method to read an encrypted 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