News for hackers. Stuff that matters.
Re:Connect-Web: TypeScript library for calling RPC servers f... by yandie on Thursday August 04, 2022 @04:48PM (#32348128)
But then we have to use yet another protocol?
Re:Connect-Web: TypeScript library for calling RPC servers f... by timostamm on Thursday August 04, 2022 @05:27PM (#32348510)
If you want to be able to see data in the browsers network inspector, you do. If you are already serving gRPC-web, you can use the gRPC-web transport in connect-web, it supports both protocols. It doesn't support plain gRPC because web browsers do not expose trailers, and gRPC uses them extensively.