<%
var log = new Log();
websocket.ontext = function (data) {
    log.info('Client Sent : ' + data);
    var ws = this;
    setTimeout(function () {
        ws.send(data);
    }, 5000);
};

websocket.onbinary = function (stream) {
    log.info('Client Streamed : ' + stream.toString());
};
%>