2023-02-26 01:30

This commit is contained in:
2023-02-26 01:30:37 +09:00
commit 9a13ccbd17
122 changed files with 32148 additions and 0 deletions

17
hello-js/test01.js Normal file
View File

@@ -0,0 +1,17 @@
let websocket = new WebSocket("wss://echo.websocket.org/");
websocket.onopen((event) => {
websocket.send("Hello");
});
websocket.onclose(() => {
});
websocket.onmessage((event) => {
console.log(event.data);
});
websocket.onerror(() => {
});