Closed webigorkiev closed 2 years ago
I am trying to implement Server Side Event back end. How do I handle the connection reset(close) event?
In node.js http package it is req.on('close', () => { }); How to do it in uWebSockets.js?
Thanks
onAborted - works fine. It would probably be cool to have an example on Server Send Event
@webigorkiev I created an example of Server-sent Events #711
I am trying to implement Server Side Event back end. How do I handle the connection reset(close) event?
In node.js http package it is req.on('close', () => { }); How to do it in uWebSockets.js?
Thanks