Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
node.js concepts asychrounous'/session/new',function(request, response){
var session = request.body;
});'/session/new',function(request, response){
var session = request.body;
save_session(session, function(){
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '');
console.log('Server running at');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment