Vanilla http module wrapper #1231
Llorx
started this conversation in
Ideas & Feature requests
Replies: 0 comments 2 replies
-
I'd like to try different server too .... for example Koa instead of Express .. |
Beta Was this translation helpful? Give feedback.
0 replies
-
For me I serve Express on one port for static files and Peer on another port no problems |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a suggestion:
Use another existant ws/HTTP server instead of express.
Express is nice, but sometimes is oversize when you just want to serve some static files and have a dumb WebSocket, so I created my own HTTP/ws server with nodejs
http
module and npmws
library. The problem is that I cannot share same port/server with PeerServer, as the only wrapper I can find is the express one.Is there a way to have PeerServer working with them? If not, I suggest to add that feature.
Beta Was this translation helpful? Give feedback.
All reactions