-
Notifications
You must be signed in to change notification settings - Fork 228
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
REST: server-sent events #2492
Comments
OmegaRelay
changed the title
REST: implement server-sent events
REST: server-sent events
Sep 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Server Sent Events in REST API server
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is.
At my company we currently use the http REST API to control the otbr instance with our own application.
The issue is we currently need to poll the /node/state endpoint to be updated of the connection status.
Describe the solution you'd like A clear and concise description of what you want to happen.
Server-sent event implementation defined in RFC-8895 for http clients to recieve push updates by starting a session with a GET request on a stream endpoint e.g /node/state/stream.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
We've considered using the D-BUS api but opted for the REST api for the following reasons:
Additional context Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: