spdy-http2 / node-spdy

SPDY server on Node.js
2.81k stars 196 forks source link

Added Express push example #195

Closed albertorestifo closed 9 years ago

albertorestifo commented 9 years ago

I think adding an Express example to the push stream in the README.md, makes is clearer you can use it with ease with Express.

I also made one more change, this one I can remove it if you wish: In the README, all the examples listen to port 443. This requires you to start the node process with a root account or using Sudo, which is a bad practice. I changed it to port 3000.

On the other hand, it makes clearer that SPDY is intended to be used with HTTPS. What do you think?

(I tested the Express example, it works)