Witam, nie jestem za bardzo obeznany w node.js
Ale metody takie jak use i listen stosuje dla zmiennej app
const app = require('express')();
const http = require('http').createServer(app);
natomiast samo socket.io wymaga użycia servera http
const io = require('socket.io')(http);
I teraz pytanie, całe listen, use, get i inne metody z app, moge nadal tak samo używać tylko dla node stworzyć http server i to będzie okej?
Czy trzeba przerzucic się z app na http i zacząć używać innych metod?