This commit is contained in:
Marvin Martinson
2018-11-25 08:12:33 +02:00
parent 4e6f7904ba
commit 6515efafa9
2 changed files with 21 additions and 0 deletions

19
test.html Normal file
View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
var exampleSocket = new WebSocket("ws://192.168.1.1:80/p2p/sumo-277344/browser/");
exampleSocket.onmessage = function (event) {
console.log("data");
}
</script>
</body>
</html>