Response "TCP"

images/download/attachments/137312664/1183-version-1-modificationdate-1691037812124-api-v2.png


This Response Route has two use cases.

Use case 1


If (1) is a client connection, the payload is sent there.

The response of the TCP server can be forwarded to a subsequent profile via Message (2). For setting details see Response "Message". Note: If the connection uses a ByteHandler, the response is a Base64 string. See also function decode Base64().

Use case 2


If (1) is a server connection and (1) is used in the profile in a TCP Input Agent, the payload is sent as a response to the TCP client that called the profile.

Payload


The payload is the content of the Response Route.

If (1) uses a StringHandler, specify a normal string.

If (1) uses a ByteHandler, a Base64 value must be specified. Use function convert hex to base64() to generate the value.