Stream: beginners

Topic: basic-webserver SSE


view this post on Zulip Artur Domurad (Jan 09 2025 at 11:36):

Is it possible with the current implementation of basic-webserver to use SSE (server-sent events)?

I cannot find a flush function, or any other way to send data without returning from the respond! function - thereby ending the request.

view this post on Zulip Brendan Hansknecht (Jan 09 2025 at 16:04):

No it can not

view this post on Zulip Richard Feldman (Jan 09 2025 at 16:12):

yeah I think we'd want a separate platform for that, feels like a pretty separate API

view this post on Zulip Artur Domurad (Jan 09 2025 at 16:13):

ok, will use a custom platform then


Last updated: Jul 06 2025 at 12:14 UTC