request event (http.Server)

Event: 'request'

function (request, response) { }

Emitted each time there is a request. Note that there may be multiple requests per connection (in the case of keep-alive connections). request is an instance of http.IncomingMessage and response is an instance of http.ServerResponse.

doc_Nodejs
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.