home

Mobile Endpoint Security

Lookout Product Documentation

Find answers about using and optimizing Lookout products.

Multiline Data

The server breaks longer messages using multiple data: lines. Two or more consecutive lines beginning with data: are considered a single piece of data, meaning only one message event will be fired. Each line ends in a single "\n" (except for the last, which ends with two "\n" characters . The result passed to your message handler is a single string concatenated by newline characters. For example:

data: first line\n
data: second line\n\n