1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
window.onload = function() {
var url = encodeURIComponent(window.location.href);
document.getElementById('wslink').href = "https://" + window.location.hostname + ":" + 9000 + "?after=2&redirect=" + url;
}
</script>
</head>
<body>
<h1>Autobahn Secure WebSocket Echo Test</h1>
<p>
To install the WebSocket server certificate:
</p>
<ul>
<li>Go to the <a href="#" id="wslink">server status page</a> and accept the certificate</li>
<li>Manually install the <a href="keys/server.crt">certificate</a></li>
</ul>
<p>
Then <a href="client.html">start the echo client</a>, which
connects to the WebSocket endpoint via secure WS.
</p>
</body>
</html>
|