rexxars / sse-channel

Server-Sent Events "channel" where all messages are broadcasted to all connected clients, history is maintained automatically and server attempts to keep clients alive by sending "keep-alive" packets automatically.
MIT License
111 stars 11 forks source link

Use flushHeaders method #18

Closed fijimunkii closed 7 years ago

fijimunkii commented 7 years ago

As flush was deprecated

https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js#L892 https://github.com/nodejs/node/pull/1156

fijimunkii commented 7 years ago

Thanks @wKovacs64 - I see now what was intended there