åãªãã¡ã¢ã ã¾ããåããã¨ã§æ©ã人ãããã ããã¨æãã®ã§ããããä¸ã®ã´ããå¢ããã¦ããã ãã®æã®ãã¨ãããã«ã¯è¤æ°ã®æ¹æ³ãåå¨ããæ¤ç´¢çµæçã«ã¡ã¸ã£ã¼ãªã®ã¯ãsocket.ioã使ãæ¹æ³ã£ã½ãããããã¯ãwsã使ãã¨ããæ¹æ³ããã(ãã£ã¡ã¯çNodeã§ãã£ããã¨ããã)ã ãããã®æ¹æ³ã§ãã£ã¦ããend pointã«ã¤ãã¦ã¯Expressçãªrouterã使ããªãã®ã§ãçNodeã¨Expressãåä½ããã ãã®ãæåéããæ¨ã«ç«¹ãç¶ãã ããããªã³ã¼ãã«ãªã£ã¦ãã¾ãã ããã§ã¯æ®å¿µãªã®ã§ããããã®ããªããã¨æ¢ãããã express-ws ã¨ããã®ãçºè¦ãããããã¯Expressçrouterãæ¡å¼µãã¦ãããã詳細ã¯ããªã³ã¯å ã«ã router.ws('/kernels/:id/channels', (ws, req) => { ã¨ããæãã®ãã¨ãåºæ¥ã¦å¼·ããæããã ã¨ããã§ãExpr
{{#tags}}- {{label}}
{{/tags}}