在我的节点应用程序中,从快速路由器方法我需要将一些结果发送到客户端。如何在不使用socket.io的情况下在客户端获得该结果。
app.js
var express=require('express');
var app=express();
app.configure(function(){
app.use(express.static(__dirname + '/public'));
});
app.listen(8011);
app.get('/',function(req,res){
//from here i need to send some result to the client side..Without using socket.io framework how can i send the data to the client side then how to get that data in client side.
});