TCP.readIntoPayload()

Signature

Event readIntoPayload(String sessionNickName, int maxNumBytesToRead, String uriOfResponseEvent)

Domain

ACTION, CONDITION, QUERY, BUI

Parameters

NameTypeDescription
sessionNickNameStringNick name of the session
maxNumBytesToReadintreading stops and returns the data collected so far.
uriOfResponseEventStringthat event before returning it.

Returns

TypeDescription
EventThe event with the payload containing the data. null if End-of-stream is reached.