sguiheux / EventSource

EventSource "polyfill" with custom headers
20 stars 10 forks source link

Configurable heartbeatTimeout #2

Closed atton16 closed 6 years ago

atton16 commented 6 years ago

Hi, I noticed that you have hardcoded heartbeat timeout to 45000.

I really need this one to be configurable so I made it.

Please kindly accept my PR and update the version on npm.

Cheers!

sguiheux commented 6 years ago

Thank you, 1.0.5 released