T
T
Taras Labiak2016-11-03 12:59:58
Node.js
Taras Labiak, 2016-11-03 12:59:58

Why register multiple http request handlers in Node.js?

Why register more than one http.Server.on('request') ? I registered request logging with a second handler and the response is not sent in this handler, but I think this is a bad idea.
As far as I understand, the handlers are launched simultaneously

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question