let socket = new WebSocket("ws://javascript.info");. There's also encrypted wss:// protocol. It's like HTTPS for websockets.
確定! 回上一頁