News for hackers. Stuff that matters.
Re:Connect-Web: TypeScript library for calling RPC servers f... by CMCDragonkai on Thursday August 04, 2022 @09:15PM (#32350330)
We had major problems with integrating grpc into electron and browser extensions so making something like grpc work on the web is essential. However for a decentralised application, expecting users to deploy a separate proxy is unacceptable. So we were planning to switch back to json RPC and build our own streaming system based off vscode's json RPC.

Does this new connect protocol expect to support all streaming mechanisms client streaming, server streaming and bidirectional?

Re:Connect-Web: TypeScript library for calling RPC servers f... by bufbuild on Thursday August 04, 2022 @10:29PM (#32350835)
It already does! The connect protocol supports all streaming mechanisms.

The beauty of the Connect ecosystem is that no proxies are required - the Connect protocol works just as well from the browser as it does on the backend.