plain Response

private open fun plainResponse(responseCode: SocketManager.StandardResponseCode, message: String): String

Method to assemble the payload for a response

Return

the payload for a response as String

Parameters

responseCode

: the response code value

message

: the message to send as response