Helidium / Mitol

Lightweight NodeJS http server
Other
175 stars 5 forks source link

server.on is not a function #10

Closed Crusader4Christ closed 6 years ago

Crusader4Christ commented 6 years ago

server.on('connection', callback) leads to error server.on is not a function same as server.unref()

bnlambert commented 6 years ago

+1 I am having the same issues, I hope a fruitful response comes up soon

Helidium commented 6 years ago

server.on method is now implemented. Currently 'connection' event is captured. Other will follow soon

bnlambert commented 6 years ago

Thanks for the update. I have been trying to use it with hapi but it seems more methods are needed. At the moment I have no issues running mitol with express.

Keep up with the good work, I hope the stardard http module methods will be available as soon as possible.

Cheers