colyseus / uWebSockets-express

Express API compatibility layer for uWebSockets.js
https://npmjs.com/package/uwebsockets-express
MIT License
56 stars 13 forks source link

TypeError: res.flush is not a function #35

Closed jaythakor-ai closed 6 months ago

jaythakor-ai commented 6 months ago

When using a flush to stream the video output, I'm facing res.flush is not a function. Is there another way to accomplish the flush function, or is it possible for us to enable an express-style flush function?

endel commented 6 months ago

Hi @jaythakor-ai, a PR is welcome if you'd like to implement this method.