WebSocket ãå©ç¨ããã¢ããªã±ã¼ã·ã§ã³ãä½ãéã«ãåä½ç¢ºèªãç
©éãªå ´åãããã¾ãã ãµã¼ãå´ã¨ã¯ã©ã¤ã¢ã³ãå´ãã©ã¡ããå®è£
ããå¿
è¦ããã£ã¦ããã¡ãã£ã¨ãã®é¨åã ãåããã¦ã¿ãããªããã£ã¦ããã¨ãã«ãç°¡åã«è©¦ãæ¹æ³ãããã¨ä¾¿å©ã§ãããï¼ ãããªã¨ãã«ãããããªã®ãã wscat ã§ãã wscat ã¯ãã³ãã³ãã©ã¤ã³ã§å©ç¨ã§ãã WebSocket ã®ãµã¼ã/ã¯ã©ã¤ã¢ã³ãã§ãws ã«å梱ããã¦ãã¾ãã ws ã¨ã¯ã Node.js ä¸ã§ WebSocket ã使ãããã®ã¢ã¸ã¥ã¼ã«ã§ãSocket.IO ãengine.io ã®å
é¨ã§ãå©ç¨ããã¦ããä»æ³¨ç®ã®ãããã¯ãã§ãã ä»åã¯ããã® wscat ã®ä½¿ãæ¹ããç´¹ä»ãã¾ãã 対象ãã¼ã¸ã§ã³ ws (0.4.7) ã¤ã³ã¹ãã¼ã« Node.js ã®ã¢ã¸ã¥ã¼ã«ãªã®ã§ã npm ã§ã¤ã³ã¹ãã¼ã«ããã®ãç°¡åã§ãã $ npm install -
{{#tags}}- {{label}}
{{/tags}}