SSE - Can I intercept an EventSource source/stream ? #32601
Unanswered
gerazenobi
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
I would like to know whether it is possible, and if so how, to intercept and fake SSE message streams.
The client code is using standard
EventSource, e.g.:What I would want is being able to bypass the backend (intercept) and inject a series of stubbed SSE messages.
I am not interested in the temporality of the messages: they could arrive/be returned "all at once" to the source.
Thanks in advance for any information.
Beta Was this translation helpful? Give feedback.
All reactions