Skip to content
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

Support server-sent events #45

Open
ejball opened this issue Dec 15, 2023 · 0 comments
Open

Support server-sent events #45

ejball opened this issue Dec 15, 2023 · 0 comments

Comments

@ejball
Copy link
Contributor

ejball commented Dec 15, 2023

We should support events, i.e. a method that accepts a request but returns one or more responses over an indefinite period of time. The simplest syntax might be to use event rather than method but otherwise use the same syntax as methods.

See also server-sent events in MDN, server streaming RPCs in gRPC, and streaming in the OpenAI API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant