Source code
Revision control
Copy as Markdown
Other Tools
/* Any copyright is dedicated to the Public Domain.
"use strict";
window.addEventListener("load", function () {
ws1.onopen = function () {
ws1.send("test 1");
ws1.close();
};
ws2.onopen = function () {
ws2.send("test 2");
ws2.close();
};
});