python-mocket icon indicating copy to clipboard operation
python-mocket copied to clipboard

server send events

Open piranna opened this issue 1 year ago • 4 comments

I would like to test Server-Send Events, not sure if it should be added to the HTTP animal or an extension of it. Basically, it's a regular HTTP connection that it's left open and server keeps sending data to it at the same time is being generated, sort of streaming. Any posibility to be added as an animal?

piranna avatar Aug 13 '24 10:08 piranna

I don't believe that having a socket that is left open for a while would be an issue, but I may be wrong. I haven't spent time on trying to make websockets work in ages.

Do you have a non-working example using Mocket? I mean: let's start from what works today and whatnot.

mindflayer avatar Aug 13 '24 15:08 mindflayer

No, i don't have an example, didn't tried It yet.

piranna avatar Aug 13 '24 16:08 piranna

Hi @piranna, are you considering helping with this, or it was just a feature request? I am asking this because I believe I won't be able to help with that if it's everything on me.

mindflayer avatar Sep 06 '24 11:09 mindflayer

I forgot on that. I could help, but we are out of free time at work. I could help solving doubts by the moment.

piranna avatar Sep 06 '24 12:09 piranna