javascript - What events do http.IncomingMessage implement nodejs -


i have been looking nodejs , wondering how post requests. had online , found if used 'data' event on request post requests. don't know whether documentation has changed on events section of api has 'close' event.

does 'data' event still work , if why isn't in documentation?

thanks answers!

does 'data' event still work , if why isn't in documentation?

yeah, it'll work. and, documented, it's inherited behavior.

it implements readable stream interface, following additional events, methods, , properties.

events documented class implements them, 'close' documented http.incomingmessage while 'data', 'end', etc. documented under stream.readable.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -