|
@ -429,7 +429,7 @@ function Server (requestListener, options) { |
|
|
//server.setOptions(options);
|
|
|
//server.setOptions(options);
|
|
|
this.addListener('request', requestListener); |
|
|
this.addListener('request', requestListener); |
|
|
} |
|
|
} |
|
|
process.inherits(Server, net.Server); |
|
|
sys.inherits(Server, net.Server); |
|
|
exports.Server = Server; |
|
|
exports.Server = Server; |
|
|
exports.createServer = function (requestListener, options) { |
|
|
exports.createServer = function (requestListener, options) { |
|
|
return new Server(requestListener, options); |
|
|
return new Server(requestListener, options); |
|
|