src/http/http.js
function expressInit( req, res, next ) {
	req.next = next;
	req.context = {};
	// patching this according to how express does it
	// not jshint ignoring the following lines because then it
	// warns that expreq and expres aren't used.
	// This works according to express implemenetation
	// DO NOT CHANGE IT
	req.__proto__ = expreq;
	res.__proto__ = expres;

	next();
}
function expressInit( req, res, next ) {
	req.next = next;
	req.context = {};
	// patching this according to how express does it
	// not jshint ignoring the following lines because then it
	// warns that expreq and expres aren't used.
	// This works according to express implemenetation
	// DO NOT CHANGE IT
	req.__proto__ = expreq;
	res.__proto__ = expres;

	next();
}
function expressInit ( req , res , next ) { req . next = next ; req . context = { } ; // patching this according to how express does it // not jshint ignoring the following lines because then it // warns that expreq and expres aren't used. // This works according to express implemenetation // DO NOT CHANGE IT req . __proto__ = expreq ; res . __proto__ = expres ; next ( ) ; }
adaptation of express's initializing middleware the original approach breaks engine-io
adaptation of express s initializing middleware the original approach breaks engine - io