New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSE support #990
Labels
feature
New feature request
Comments
I think this issue could get more popular with the rise of the "GPT" world. Because, those GPT APIs uses SSEs to transfer the real-time generating contents. The reasons I see:
-- |
我也想要这种功能 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Old style REST API devices have GET/PUT commands whereby the client can read/write data to the server (i.e. a client driven, polling mechanism). But nowadays many REST API devices also support Server Sent Eventing (SSE) whereby the server can inform the client directly if anything changes. (i.e. a server event driven mechanism).
Example
This is often the case in home automation devices (e.g. Philips Hue) where the server device can (say) notify the client that a light was turned on or a temperature has changed.
Analog
Some implementers use SSE to send event notifications. But some use WebSockets instead. The implementation is slightly different, but the purpose is the same. => So see #83
Proposed Solution
Mockoon should add the following features..
Signed-off-by: Andrew Fiddian-Green [email protected]
The text was updated successfully, but these errors were encountered: