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