Reputation: 2854
I would like to know how to call server functions in node.js aside from using socket.io(sockets).
Upvotes: 1
Views: 1510
Reputation: 23963
You mean from the browser? There are many ways, such as using ajax, since you don't want to use web sockets. There are also ways to share server modules with the client, using libraries like require.js or express-expose.
Upvotes: 2