| Did you know ... | Search Documentation: |
| stream-input_message |
<->record_separator
equals @nil,
data is passed as soon as it is available. In this case it is not clear
if and how long chunks of data are split over multiple messages.
Otherwise, the input data will be split according to stream<->record_separator
and this message will be invoked for each complete record.
-record_separator@receiver = the socket @arg1 = a new string object holding the data
See also stream<-read_line.
Defaults: The default input_message is @nil.
In this case data may only be read using stream<-read_line.
<-record_separator)
is available, this code is executed with the following bindings:
@receiver: the stream object @arg1: a string object holding the data
Note: when using a socket
object, the receiver of the stream->input_message
must be @receiver
as the actual connections are running on a
object<-clone’ed
socket.