ç¾å¨éçºä¸ã®ã·ã¹ãã ã«ãªã¢ã«ã¿ã¤ã ãªå¦çãããããã㧠socket.io ã使ããããªã¨æã£ã¦ã¦ãããããæã«ã¿ã¤ã ãªã¼ã«ããã®è¾ºãã®è¨äºãã¿ã¤ã ã©ã¤ã³ã§åºã¦ããã®ã§ã¡ã¢ä»£ããã«èªåã®æè¦ãæ®ãã¦ããã blog.jxck.io qiita.com socket.io ãæä¾ãã¦ããã¦ãããã® ããã©ã¦ã¶ã¨ãµã¼ãéã®ãããã³ã«ãã¨ãã観ç¹ã§è¦ã㨠socket.io 㯠WebSocket ãåºæ¬ã¨ãã¦ç¹ãããªãã£ãæã« XHR Long Polling ã polling ã¨ãã£ãå½¢å¼ã®ä»£æ¿æ段ãæä¾ãã¦ããããã®ãã¨ããä½ç½®ã¥ãã ä¸æ¹ã§ãã©ã¤ãã©ãªãã¨ãã観ç¹ã§è¦ã㨠socket.io ã¯ãªã¢ã«ã¿ã¤ã ã¢ããªã±ã¼ã·ã§ã³ãä½ãéã«å¿ è¦ã«ãªãå¦çãã¾ã¨ãã¦å®è£ ããã¯ã©ã¤ã¢ã³ãã¨ãµã¼ãéã§ã® EventEmitter ã¨ãã¦æ½è±¡åãã¦ããã¦ãããã®ãã¨ãã風ã«ãªãã ããå°ãåã¿ç ãã¦è¨
{{#tags}}- {{label}}
{{/tags}}