jshttp / jshttp.github.io

https://jshttp.github.io/
MIT License
47 stars 3 forks source link

on-end #52

Closed jonathanong closed 10 years ago

jonathanong commented 10 years ago

okay so i realized that i need on-finished for read streams as well i.e. incoming client responses. it has to be on-end.

dougwilson commented 10 years ago

Why can't you use on-finished? Look at body-parser, which is using it for reading.

jonathanong commented 10 years ago

oh shit. i forgot we added that end listener too. lol when was that added?

dougwilson commented 10 years ago

In 2.0 :D I wanted to make it general purpose and I had an issued open in finished from a long time ago wanting it to work for req.