Commit 877c4dc6 authored by Sergey Lyubka's avatar Sergey Lyubka

websocket example responses: 15 times -> 3 times

parent 2dfc7912
......@@ -30,7 +30,7 @@
out('<span style="color: blue;">RESPONSE: ' + ev.data + ' </span>');
num_messages++;
}
if (num_messages > 15) {
if (num_messages > 3) {
websocket.send('exit');
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment