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

Add bidirectional stream support #419

Closed
euskadi31 opened this issue Jan 14, 2023 · 1 comment
Closed

Add bidirectional stream support #419

euskadi31 opened this issue Jan 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@euskadi31
Copy link

Is your feature request related to a problem? Please describe.

Using bidirectional stream.

Describe the solution you'd like

I think you could use the Websocket to be able to support this feature

Describe alternatives you've considered

See: #416

@euskadi31 euskadi31 added the enhancement New feature or request label Jan 14, 2023
@timostamm
Copy link
Member

Axel, the idea is that one simple protocol should be good enough for all clients. We decided against WebSockets because they would add much complexity to the very simple Connect protocol. Note that there has been some movement with browser support for better streaming support, for example in Chrome, and with the WebTransport API.

For select use cases you need now, it should be very feasible to implement a client Transport that uses WebSockets under the hood, and to add a WebSocket route on the server that calls the service implementation. It's definitely not a turn-key solution, but streaming rarely is, and you can still benefit from the protobuf schema.

For those reasons, we currently do not plan to support bidi streaming via WebSockets.

@timostamm timostamm closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants