<!doctype html>
<html>

<head>
    <meta charset="UTF-8">
    <title>WebSocket Client</title>
    <script src="js/chart.js/Chart.bundle.js"></script>
    <script src="js/chart.js/samples/utils.js"></script>

        <script type="text/javascript">
            var ws = new WebSocket("ws://" + window.location.host + "/example");

            ws.onopen = function() {
                var status = document.getElementById("status");
                status.innerHTML = "Web Socket is connected!";
            };

  